Nwidart\Modules\Commands\ControllerCommand::getDestinationFilePath PHP Method

getDestinationFilePath() public method

Get controller name.
public getDestinationFilePath ( ) : string
return 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';
    }