App\Console\Commands\PluginMake::makePluginClass PHP 메소드

makePluginClass() 보호된 메소드

makePluginClass
protected makePluginClass ( $path, $name, $namespace, $title ) : void
$path
$name
$namespace
리턴 void
    protected function makePluginClass($path, $name, $namespace, $title)
    {
        $filename = 'plugin.php';
        $code = $this->buildPluginCode($name, $namespace, $title);
        $this->makeDirectory($path);
        $this->files->put($path . '/' . $filename, $code);
    }