Documentation

CustomRel
in package
implements CustomRelInterface

FinalYes

The Extension Relation Type described in: - section 8.2 of the HAL specification - section 4 of the RFC5988 - Web Linking document.

Tags
see
https://datatracker.ietf.org/doc/html/draft-kelly-json-hal-07#section-8.2
https://tools.ietf.org/html/rfc5988#section-4

Table of Contents

Interfaces

CustomRelInterface
The Extension Relation Type described in: - section 8.2 of the HAL specification - section 4 of the RFC5988 - Web Linking document.

Properties

$name  : mixed

Methods

__construct()  : mixed
An Extension Relation Type SHOULD be a URI or a name using the CURIE syntax (prefix:reference).
__set()  : mixed
The magic setter is overridden to insure immutability.
__toString()  : mixed
getName()  : string

Properties

Methods

__construct()

An Extension Relation Type SHOULD be a URI or a name using the CURIE syntax (prefix:reference).

public __construct(string $name) : mixed

Any name as a string is accepted too.

Parameters
$name : string

the relation name

__set()

The magic setter is overridden to insure immutability.

public final __set(mixed $name, mixed $value) : mixed
Parameters
$name : mixed
$value : mixed

getName()

public getName() : string
Return values
string

the relation name

On this page

Search results