app/Console/Commands/CreateNewApiCommand.php
/**
     * Build the Controller class from the stub.
     *
     * @param  $name
     * @return mixed
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
Build the Controller class from the stub.
@param  $name
@return mixed
@throws \Illuminate\Contracts\Filesystem\FileNotFoundException
Build the Controller class from the stub . @param $name @return mixed @throws \ Illuminate \ Contracts \ Filesystem \ FileNotFoundException
protected function buildClass($name)
    {
        $stub = $this->files->get($this->getControllerStub());
        return $this->replaceNamespace($stub, $name)->replaceClass($stub, $name);
    }
protected function buildClass ( $ name ) { $ stub = $ this -> files -> get ( $ this -> getControllerStub ( ) ) ; return $ this -> replaceNamespace ( $ stub , $ name ) -> replaceClass ( $ stub , $ name ) ; }
Build the Controller class from the stub.
Build the Controller class from the stub .