src/Data/ClassExtraction.php
public function extract()
	{
		$method = NULL;

		$name = explode(',', $this->match['raw']);

		// Get the method
		if(strpos($name[0], '.')) 
		{
			$parts = explode('.', $name[0]);
			$method = str_replace(array('[', ']'), '', $parts[1]);

		} elseif(isset($this->match['params']['method'])) 
		{
			$method = $this->match['params']['method'];
			unset($this->match['params']['method']);	
		}

		if(!is_null($method)) 
		{
			return $this->fireMethod($method);
		}

		throw new InvalidClassMethodCalled($method, $this->match['raw']);
	}
public function extract()
	{
		$method = NULL;

		$name = explode(',', $this->match['raw']);

		// Get the method
		if(strpos($name[0], '.')) 
		{
			$parts = explode('.', $name[0]);
			$method = str_replace(array('[', ']'), '', $parts[1]);

		} elseif(isset($this->match['params']['method'])) 
		{
			$method = $this->match['params']['method'];
			unset($this->match['params']['method']);	
		}

		if(!is_null($method)) 
		{
			return $this->fireMethod($method);
		}

		throw new InvalidClassMethodCalled($method, $this->match['raw']);
	}
public function extract ( ) { $ method = NULL ; $ name = explode ( ',' , $ this -> match [ 'raw' ] ) ; // Get the method if ( strpos ( $ name [ 0 ] , '.' ) ) { $ parts = explode ( '.' , $ name [ 0 ] ) ; $ method = str_replace ( array ( '[' , ']' ) , '' , $ parts [ 1 ] ) ; } elseif ( isset ( $ this -> match [ 'params' ] [ 'method' ] ) ) { $ method = $ this -> match [ 'params' ] [ 'method' ] ; unset ( $ this -> match [ 'params' ] [ 'method' ] ) ; } if ( ! is_null ( $ method ) ) { return $ this -> fireMethod ( $ method ) ; } throw new InvalidClassMethodCalled ( $ method , $ this -> match [ 'raw' ] ) ; }
Returns the mask value based on mask and params;

@return String
@author Dan Cox
Returns the mask value based on mask and params ;