Baum\Console\InstallCommand::writeModel PHP Method

writeModel() protected method

Write the model file to disk.
protected writeModel ( string $name ) : string
$name string
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}");
    }