Inheritance: extends Generator
Beispiel #1
0
 /**
  * Write the model file to disk.
  *
  * @param  string  $name
  * @return string
  */
 protected function writeModel($name)
 {
     $output = pathinfo($this->modeler->create($name, $this->getModelsPath()), PATHINFO_FILENAME);
     $this->line("      <fg=green;options=bold>create</fg=green;options=bold>  {$output}");
 }