src/Commands/NewCommand.php
protected function makeYml($path,$inputAuthor,$inputName)
    {
        $data = [
            'name'=>$inputName,
            'author'=>$inputAuthor,
            'version'=>'1.0',

        ];
        $yml = Yaml::dump($data);
        $this->files->put(dirname($path).'/module.yml',$yml);
    }
protected function makeYml($path,$inputAuthor,$inputName)
    {
        $data = [
            'name'=>$inputName,
            'author'=>$inputAuthor,
            'version'=>'1.0',

        ];
        $yml = Yaml::dump($data);
        $this->files->put(dirname($path).'/module.yml',$yml);
    }
protected function makeYml ( $ path , $ inputAuthor , $ inputName ) { $ data = [ 'name' => $ inputName , 'author' => $ inputAuthor , 'version' => '1.0' , ] ; $ yml = Yaml :: dump ( $ data ) ; $ this -> files -> put ( dirname ( $ path ) . '/module.yml' , $ yml ) ; }
create yml file info about module
@param $path
@param $inputAuthor
@param $inputName
create yml file info about module