protected function addMethods($stub, array $options)
	{
		// Once we have the applicable methods, we can just spin through those methods
		// and add each one to our array of method stubs. Then we will implode them
		// them all with end-of-line characters and return the final joined list.
		$stubs = $this->getMethodStubs($options);

		$methods = implode(PHP_EOL.PHP_EOL, $stubs);

		return str_replace('{{methods}}', $methods, $stub);
	}
protected function addMethods($stub, array $options)
	{
		// Once we have the applicable methods, we can just spin through those methods
		// and add each one to our array of method stubs. Then we will implode them
		// them all with end-of-line characters and return the final joined list.
		$stubs = $this->getMethodStubs($options);

		$methods = implode(PHP_EOL.PHP_EOL, $stubs);

		return str_replace('{{methods}}', $methods, $stub);
	}
protected function addMethods ( $ stub , array $ options ) { // Once we have the applicable methods, we can just spin through those methods // and add each one to our array of method stubs. Then we will implode them // them all with end-of-line characters and return the final joined list. $ stubs = $ this -> getMethodStubs ( $ options ) ; $ methods = implode ( PHP_EOL . PHP_EOL , $ stubs ) ; return str_replace ( '{{methods}}' , $ methods , $ stub ) ; }
Add the method stubs to the controller.

@param  string  $stub
@param  array   $options
@return string
Add the method stubs to the controller .