Zend\Http\Header\AbstractLocation
Abstract Location Header Supports headers that have URI as value
Synopsis
class AbstractLocation
implements
HeaderInterface
{
- // members
- protected UriInterface $uri;
- // methods
- public static AbstractLocation fromString()
- public AbstractLocation setUri()
- public string getUri()
- public UriInterface uri()
- public string getFieldValue()
- public string toString()
- public string __toString()
Hierarchy
Extended by
Implements
Members
protected
- $uri
—
Zend\Uri\UriInterface
URI for this header
Methods
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