Kirby\Cli\Command\Make\Plugin::_template PHP Method

_template() protected method

protected _template ( $what )
    protected function _template($what)
    {
        $template = f::read(__DIR__ . '/templates/plugin/' . $what);
        $template = str::template($template, ['name' => $this->name()]);
        return $template;
    }