App\Console\Commands\PluginMake::makePluginClass PHP Method

makePluginClass() protected method

makePluginClass
protected makePluginClass ( $path, $name, $namespace, $title ) : void
$path
$name
$namespace
return 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);
    }