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);
}