public function initCommandData()
 {
     $this->prepareModelNames();
     $this->prepareOptions();
     $this->prepareAddOns();
     $this->initDynamicVariables();
     $this->addDynamicVariable('$NAMESPACE_APP$', $this->commandObj->getLaravel()->getNamespace());
 }
Example #2
0
 /**
  * The constructor.
  *
  * @param Command $console
  */
 public function __construct(Command $console)
 {
     $this->console = $console;
     $this->laravel = $console->getLaravel();
 }
 /**
  * The constructor.
  *
  * @param Command $console
  * @param array $schema
  */
 public function __construct(Command $console, array $schema)
 {
     $this->console = $console;
     $this->laravel = $console->getLaravel();
     $this->schema = $schema;
 }