Crunz\Console\Command\TaskGeneratorCommand::getStub PHP Method

getStub() protected method

Get the task stub
protected getStub ( ) : string
return string
    protected function getStub()
    {
        return file_get_contents(__DIR__ . '/../../Stubs/' . ucfirst($this->type() . 'Task.php'));
    }