Kirby\Cli\Command\Plugin::prepare PHP 메소드

prepare() 보호된 메소드

protected prepare ( )
    protected function prepare()
    {
        // check for an existing field with the same name
        if (!$this->sourceExists()) {
            throw new RuntimeException('The correct source for the plugin is missing');
        }
        dir::make(dirname($this->destination()));
    }