Ejemplo n.º 1
0
 /**
  * Execute the command
  */
 public function exec()
 {
     $schema = true;
     //
     $bundleName = $this->argument('bundleName');
     $data = $this->splite(Model::ListAll($bundleName));
     //
     $this->show($data);
 }
Ejemplo n.º 2
0
 /**
  * Execute the command
  */
 public function exec()
 {
     $bundleName = $this->argument('bundleName');
     $fileName = $this->argument('fileName');
     $className = $this->argument('className');
     $tableName = $this->argument('tableName');
     //
     $process = Model::create($bundleName, $fileName, $className, $tableName);
     //
     $this->show($process);
 }