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

buildPluginCode() 보호된 메소드

Build the class with the given name.
protected buildPluginCode ( $pluginName, $namespace, $title ) : string
리턴 string
    protected function buildPluginCode($pluginName, $namespace, $title)
    {
        $stub = $this->files->get($this->getStub('plugin.stub'));
        $this->replaceNamespace($stub, $namespace)->replaceClass($stub, 'Plugin')->replacePluginName($stub, $pluginName)->replacePluginTitle($stub, $title);
        return $stub;
    }