src/Application.php
public function registerCommand($commandClass)
    {
        $command = $this->container->make($commandClass);

        $command->setContainer($this->container);

        return $this->symfony->add($command);
    }
public function registerCommand($commandClass)
    {
        $command = $this->container->make($commandClass);

        $command->setContainer($this->container);

        return $this->symfony->add($command);
    }
public function registerCommand ( $ commandClass ) { $ command = $ this -> container -> make ( $ commandClass ) ; $ command -> setContainer ( $ this -> container ) ; return $ this -> symfony -> add ( $ command ) ; }
Register a single command.

@param string $commandClass
@return \Symfony\Component\Console\Command\Command
Register a single command .