Mpociot\Teamwork\Commands\MakeTeamwork::compileControllerStub PHP Method

compileControllerStub() protected method

Compiles the HTTP controller stubs.
protected compileControllerStub ( $stubName ) : string
$stubName
return string
    protected function compileControllerStub($stubName)
    {
        return str_replace('{{namespace}}', $this->getAppNamespace(), file_get_contents(__DIR__ . '/../../../stubs/controllers/' . $stubName . '.stub'));
    }