src/Data/ClassExtraction.php
public function fireMethod($methodName)
	{
		if($this->reflection->hasMethod($methodName))
		{
			$method = $this->reflection->getMethod($methodName);
			$instance = $this->reflection->newInstance();
			return $method->invokeArgs($instance, $this->match['params']);
		}
		
		throw new InvalidClassMethodCalled($methodName, $this->match['raw']);		
	}
public function fireMethod($methodName)
	{
		if($this->reflection->hasMethod($methodName))
		{
			$method = $this->reflection->getMethod($methodName);
			$instance = $this->reflection->newInstance();
			return $method->invokeArgs($instance, $this->match['params']);
		}
		
		throw new InvalidClassMethodCalled($methodName, $this->match['raw']);		
	}
public function fireMethod ( $ methodName ) { if ( $ this -> reflection -> hasMethod ( $ methodName ) ) { $ method = $ this -> reflection -> getMethod ( $ methodName ) ; $ instance = $ this -> reflection -> newInstance ( ) ; return $ method -> invokeArgs ( $ instance , $ this -> match [ 'params' ] ) ; } throw new InvalidClassMethodCalled ( $ methodName , $ this -> match [ 'raw' ] ) ; }
Fires the chosen method of the class

@return String
@author Dan Cox
Fires the chosen method of the class