Laralib\L5scaffold\Makes\MakeController::compileControllerStub PHP Method

compileControllerStub() protected method

Compile the controller stub.
protected compileControllerStub ( ) : string
return string
    protected function compileControllerStub()
    {
        $stub = $this->files->get(substr(__DIR__, 0, -5) . 'Stubs/controller.stub');
        $this->buildStub($this->scaffoldCommandObj->getMeta(), $stub);
        // $this->replaceValidator($stub);
        return $stub;
    }