original_string: public function extractValue(Array $match)
  	{
  		switch(gettype($match['value']))
  		{
  			case 'string':
  				return $match['value'];
  				break;
  			case 'object':
  				// Extract Closures
  				if(get_class($match['value']) == 'Closure') {
  					return $this->closureExtract($match);
  				}
  				// Extract Classes
  				return $this->classExtract($match);
  				break;
  		}
  
  		throw new Exceptions\UnexpectedMaskValue($match['value'], $match['raw']);
  	}
code: public function extractValue(Array $match)
  	{
  		switch(gettype($match['value']))
  		{
  			case 'string':
  				return $match['value'];
  				break;
  			case 'object':
  				// Extract Closures
  				if(get_class($match['value']) == 'Closure') {
  					return $this->closureExtract($match);
  				}
  				// Extract Classes
  				return $this->classExtract($match);
  				break;
  		}
  
  		throw new Exceptions\UnexpectedMaskValue($match['value'], $match['raw']);
  	}
code_tokens: public function extractValue ( Array $ match ) { switch ( gettype ( $ match [ 'value' ] ) ) { case 'string' : return $ match [ 'value' ] ; break ; case 'object' : // Extract Closures if ( get_class ( $ match [ 'value' ] ) == 'Closure' ) { return $ this -> closureExtract ( $ match ) ; } // Extract Classes return $ this -> classExtract ( $ match ) ; break ; } throw new Exceptions \ UnexpectedMaskValue ( $ match [ 'value' ] , $ match [ 'raw' ] ) ; }
docstring: Checks the type of value and formats it, as we could be getting closures passed
  
  @return void
  @author Dan Cox
docstring_tokens: Checks the type of value and formats it as we could be getting closures passed