Nwidart\Modules\Commands\ControllerCommand::getDestinationFilePath PHP Méthode

getDestinationFilePath() public méthode

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