PHP Interface Neomerx\JsonApi\Contracts\Document\LinkInterface

Datei anzeigen Open project: neomerx/json-api Interface Usage Examples

Public Methods

Method Description
getMeta ( ) : array | object | null Get meta information.
getSubHref ( ) : string Get 'href' (URL) value.
isTreatAsHref ( ) : boolean If $subHref is a full URL and must not be concatenated with other URLs.

Method Details

getMeta() public method

Get meta information.
public getMeta ( ) : array | object | null
return array | object | null

getSubHref() public method

Get 'href' (URL) value.
public getSubHref ( ) : string
return string

isTreatAsHref() public method

If $subHref is a full URL and must not be concatenated with other URLs.
public isTreatAsHref ( ) : boolean
return boolean