<?php
namespace Nwidart\Modules\Commands;
use Illuminate\Support\Str;
use Nwidart\Modules\Support\Config\GenerateConfigReader;
use Nwidart\Modules\Support\Stub;
use Nwidart\Modules\Traits\ModuleCommandTrait;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
class ControllerMakeCommand extends GeneratorCommand
{
use ModuleCommandTrait;
protected $argumentName = 'controller';
protected $name = 'module:make-controller';
protected $description = 'Generate new restful controller for the specified module.';
public function getDestinationFilePath()
{
$path = $this->laravel['modules']->getModulePath($this->getModuleName());