protected function generateController()
	{
		// Once we have the controller and resource that we are going to be generating
		// we will grab the path and options. We allow the developers to include or
		// exclude given methods from the resourceful controllers we're building.
		$controller = $this->input->getArgument('name');

		$path = $this->getPath();

		$options = $this->getBuildOptions();

		// Finally, we're ready to generate the actual controller file on disk and let
		// the developer start using it. The controller will be stored in the right
		// place based on the naemspace of this controller specified by commands.
		$this->generator->make($controller, $path, $options);

		$this->info('Controller created successfully!');
	}
protected function generateController()
	{
		// Once we have the controller and resource that we are going to be generating
		// we will grab the path and options. We allow the developers to include or
		// exclude given methods from the resourceful controllers we're building.
		$controller = $this->input->getArgument('name');

		$path = $this->getPath();

		$options = $this->getBuildOptions();

		// Finally, we're ready to generate the actual controller file on disk and let
		// the developer start using it. The controller will be stored in the right
		// place based on the naemspace of this controller specified by commands.
		$this->generator->make($controller, $path, $options);

		$this->info('Controller created successfully!');
	}
protected function generateController ( ) { // Once we have the controller and resource that we are going to be generating // we will grab the path and options. We allow the developers to include or // exclude given methods from the resourceful controllers we're building. $ controller = $ this -> input -> getArgument ( 'name' ) ; $ path = $ this -> getPath ( ) ; $ options = $ this -> getBuildOptions ( ) ; // Finally, we're ready to generate the actual controller file on disk and let // the developer start using it. The controller will be stored in the right // place based on the naemspace of this controller specified by commands. $ this -> generator -> make ( $ controller , $ path , $ options ) ; $ this -> info ( 'Controller created successfully!' ) ; }
Generate a new resourceful controller file.

@return void
Generate a new resourceful controller file .