Zend\Http\Header\Location
Location Header
Synopsis
class Location
extends AbstractLocation
{
- // Inherited members from AbstractLocation
- protected UriInterface $uri;
- // methods
- public string getFieldName()
- // Inherited methods from AbstractLocation
- public static AbstractLocation fromString()
- public AbstractLocation setUri()
- public string getUri()
- public UriInterface uri()
- public string getFieldValue()
- public string toString()
- public string __toString()
Hierarchy
Members
protected
- $uri
—
Zend\Uri\UriInterface
URI for this header
Methods
public
- getFieldName() — Return header name
Inherited from Zend\Http\Header\AbstractLocation
public
- __toString() — Allow casting to string
- fromString() — Create location-based header from string
- getFieldValue() — Get header value as URI string
- getUri() — Return the URI for this header
- setUri() — Set the URI/URL for this header, this can be a string or an instance of Zend\Uri\Http
- toString() — Output header line
- uri() — Return the URI for this header as an instance of Zend\Uri\Http