original_string: public function &call($type, $method, $parameters = array())
  	{
  		$class = $this->get_class($type);
  
  		if (in_array($class, $this->legacy))
  		{
  			switch ($type)
  			{
  				case 'Cache':
  					// For backwards compatibility with old non-static
  					// Cache::create() methods
  					if ($method === 'get_handler')
  					{
  						$result = @call_user_func_array(array($class, 'create'), $parameters);
  						return $result;
  					}
  					break;
  			}
  		}
  
  		$result = call_user_func_array(array($class, $method), $parameters);
  		return $result;
  	}
code: public function &call($type, $method, $parameters = array())
  	{
  		$class = $this->get_class($type);
  
  		if (in_array($class, $this->legacy))
  		{
  			switch ($type)
  			{
  				case 'Cache':
  					// For backwards compatibility with old non-static
  					// Cache::create() methods
  					if ($method === 'get_handler')
  					{
  						$result = @call_user_func_array(array($class, 'create'), $parameters);
  						return $result;
  					}
  					break;
  			}
  		}
  
  		$result = call_user_func_array(array($class, $method), $parameters);
  		return $result;
  	}
code_tokens: public function & call ( $ type , $ method , $ parameters = array ( ) ) { $ class = $ this -> get_class ( $ type ) ; if ( in_array ( $ class , $ this -> legacy ) ) { switch ( $ type ) { case 'Cache' : // For backwards compatibility with old non-static // Cache::create() methods if ( $ method === 'get_handler' ) { $ result = @ call_user_func_array ( array ( $ class , 'create' ) , $ parameters ) ; return $ result ; } break ; } } $ result = call_user_func_array ( array ( $ class , $ method ) , $ parameters ) ; return $ result ; }
docstring: Call a static method for a type
  
  @param string $type
  @param string $method
  @param array $parameters
  @return mixed
docstring_tokens: Call a static method for a type