PHP Class Neomerx\JsonApi\Document\Link

Inheritance: implements Neomerx\JsonApi\Contracts\Document\LinkInterface
Show file Open project: neomerx/json-api

Public Methods

Method Description
__construct ( string $subHref, mixed $meta = null, boolean $treatAsHref = false )
getMeta ( )
getSubHref ( )
isTreatAsHref ( )

Method Details

__construct() public method

public __construct ( string $subHref, mixed $meta = null, boolean $treatAsHref = false )
$subHref string
$meta mixed
$treatAsHref boolean If $subHref is a full URL and must not be concatenated with other URLs.

getMeta() public method

public getMeta ( )

getSubHref() public method

public getSubHref ( )

isTreatAsHref() public method

public isTreatAsHref ( )