Symfony\Bundle\FrameworkBundle\Console\Application::all PHP Method

all() public method

public all ( $namespace = null )
    public function all($namespace = null)
    {
        $this->registerCommands();
        return parent::all($namespace);
    }

Usage Example

Esempio n. 1
0
 public function testBundleCommandsAreRetrievable()
 {
     $bundle = $this->createBundleMock(array());
     $kernel = $this->getKernel(array($bundle));
     $application = new Application($kernel);
     $application->all();
     // Calling twice: registration should only be done once.
     $application->all();
 }
All Usage Examples Of Symfony\Bundle\FrameworkBundle\Console\Application::all