Symfony\Component\HttpKernel\Bundle\Bundle::registerCommands
Finds and registers Commands.
Override this method if your bundle commands do not follow the conventions: * Commands are in the 'Command' sub-directory * Commands extend Symfony\Component\Console\Command\Command
Signature
public function registerCommands(Application
$application )
Parameters
$application
— Symfony\Component\Console\Application- An Application instance