protected function createRoutes($input)
    {
        $this->call(
            'create:routes',
            [
                'model-name' => $input->modelName,
                '--controller-name' => $input->controllerName,
                '--routes-prefix' => $input->prefix,
                '--template-name' => $input->template,
                '--controller-directory' => $input->controllerDirectory,
            ]
        );

        return $this;
    }
protected function createRoutes($input)
    {
        $this->call(
            'create:routes',
            [
                'model-name' => $input->modelName,
                '--controller-name' => $input->controllerName,
                '--routes-prefix' => $input->prefix,
                '--template-name' => $input->template,
                '--controller-directory' => $input->controllerDirectory,
            ]
        );

        return $this;
    }
protected function createRoutes ( $ input ) { $ this -> call ( 'create:routes' , [ 'model-name' => $ input -> modelName , '--controller-name' => $ input -> controllerName , '--routes-prefix' => $ input -> prefix , '--template-name' => $ input -> template , '--controller-directory' => $ input -> controllerDirectory , ] ) ; return $ this ; }
Executes the command that generates the routes.

@param CrestApps\CodeGenerator\Models\ResourceInput $input

@return $this
Executes the command that generates the routes .