/**
* Compile the controller stub.
*
* @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;
}