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