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;
	}
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;
	}
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 ; }
Get the class registered for a type

Where possible, use {@see create()} or {@see call()} instead

@param string $type
@return string|null
Get the class registered for a type