protected function formatStub($stub)
	{
		$stub = str_replace('{{class}}', $this->input->getArgument('name'), $stub);

		if ( ! is_null($this->option('command')))
		{
			$stub = str_replace('command:name', $this->option('command'), $stub);
		}

		return $this->addNamespace($stub);
	}
protected function formatStub($stub)
	{
		$stub = str_replace('{{class}}', $this->input->getArgument('name'), $stub);

		if ( ! is_null($this->option('command')))
		{
			$stub = str_replace('command:name', $this->option('command'), $stub);
		}

		return $this->addNamespace($stub);
	}
protected function formatStub ( $ stub ) { $ stub = str_replace ( '{{class}}' , $ this -> input -> getArgument ( 'name' ) , $ stub ) ; if ( ! is_null ( $ this -> option ( 'command' ) ) ) { $ stub = str_replace ( 'command:name' , $ this -> option ( 'command' ) , $ stub ) ; } return $ this -> addNamespace ( $ stub ) ; }
Format the command class stub.

@param  string  $stub
@return string
Format the command class stub .