original_string: public function get_class($type)
  	{
  		if (!empty($this->classes[$type]))
  		{
  			return $this->classes[$type];
  		}
  		if (!empty($this->default[$type]))
  		{
  			return $this->default[$type];
  		}
  
  		return null;
  	}
code: public function get_class($type)
  	{
  		if (!empty($this->classes[$type]))
  		{
  			return $this->classes[$type];
  		}
  		if (!empty($this->default[$type]))
  		{
  			return $this->default[$type];
  		}
  
  		return null;
  	}
code_tokens: public function get_class ( $ type ) { if ( ! empty ( $ this -> classes [ $ type ] ) ) { return $ this -> classes [ $ type ] ; } if ( ! empty ( $ this -> default [ $ type ] ) ) { return $ this -> default [ $ type ] ; } return null ; }
docstring: Get the class registered for a type
  
  Where possible, use {@see create()} or {@see call()} instead
  
  @param string $type
  @return string|null
docstring_tokens: Get the class registered for a type