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

delete() protected method

protected delete ( $name, $output )
    protected function delete($name, $output)
    {
        f::remove($this->root() . DS . $name . '.php');
        $output->writeln('<comment>The "' . $name . '" controller has been deleted!</comment>');
        $output->writeln('');
    }
Controller