src/Console/Command/TaskGeneratorCommand.php
protected function getStub()
    {
        $projectRootDirectory = $this->filesystem
            ->projectRootDirectory();
        $path = Path::fromStrings(
            $projectRootDirectory,
            'src',
            'Stubs',
            \ucfirst($this->type() . 'Task.php')
        );

        return $this->filesystem
            ->readContent($path->toString());
    }
protected function getStub()
    {
        $projectRootDirectory = $this->filesystem
            ->projectRootDirectory();
        $path = Path::fromStrings(
            $projectRootDirectory,
            'src',
            'Stubs',
            \ucfirst($this->type() . 'Task.php')
        );

        return $this->filesystem
            ->readContent($path->toString());
    }
protected function getStub ( ) { $ projectRootDirectory = $ this -> filesystem -> projectRootDirectory ( ) ; $ path = Path :: fromStrings ( $ projectRootDirectory , 'src' , 'Stubs' , \ ucfirst ( $ this -> type ( ) . 'Task.php' ) ) ; return $ this -> filesystem -> readContent ( $ path -> toString ( ) ) ; }
Get the task stub.

@return string
Get the task stub .