You are here

public static function ObjectsProvider::getCommands in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php \Symfony\Component\Console\Tests\Descriptor\ObjectsProvider::getCommands()
1 call to ObjectsProvider::getCommands()
AbstractDescriptorTest::getDescribeCommandTestData in vendor/symfony/console/Tests/Descriptor/AbstractDescriptorTest.php

File

vendor/symfony/console/Tests/Descriptor/ObjectsProvider.php, line 62

Class

ObjectsProvider
@author Jean-François Simon <contact@jfsimon.fr>

Namespace

Symfony\Component\Console\Tests\Descriptor

Code

public static function getCommands() {
  return array(
    'command_1' => new DescriptorCommand1(),
    'command_2' => new DescriptorCommand2(),
  );
}