Kirby\Cli\Command\Delete\Blueprint::delete PHP Method

delete() protected method

protected delete ( $name, $output )
    protected function delete($name, $output)
    {
        if ($file = f::resolve($this->root() . DS . $name, ['yaml', 'yml', 'php'])) {
            f::remove($file);
        }
        $output->writeln('<comment>The "' . $name . '" blueprint has been deleted!</comment>');
        $output->writeln('');
    }
Blueprint