Nwidart\Modules\Commands\ControllerCommand::getDestinationFilePath PHP 메소드

getDestinationFilePath() 공개 메소드

Get controller name.
public getDestinationFilePath ( ) : string
리턴 string
    public function getDestinationFilePath()
    {
        $path = $this->laravel['modules']->getModulePath($this->getModuleName());
        $controllerPath = $this->laravel['modules']->config('paths.generator.controller');
        return $path . $controllerPath . '/' . $this->getControllerName() . '.php';
    }