public function ApplicationDescription::getCommands in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/console/Descriptor/ApplicationDescription.php \Symfony\Component\Console\Descriptor\ApplicationDescription::getCommands()
 
Return value
Command[]
File
- vendor/
symfony/ console/ Descriptor/ ApplicationDescription.php, line 78  
Class
- ApplicationDescription
 - @author Jean-François Simon <jeanfrancois.simon@sensiolabs.com>
 
Namespace
Symfony\Component\Console\DescriptorCode
public function getCommands() {
  if (null === $this->commands) {
    $this
      ->inspectApplication();
  }
  return $this->commands;
}