public function __construct($app) { $this->app = $app; }
/** * Crea a new instance of console * * @param string $basePath */ public function __construct($basePath) { parent::__construct(new Application($basePath)); $this->input = new ArgvInput(); $this->output = new ConsoleOutput(); $this->config = $this->getConfiguration($basePath); }