CustomRel
in package
implements
CustomRelInterface
The Extension Relation Type described in: - section 8.2 of the HAL specification - section 4 of the RFC5988 - Web Linking document.
Tags
Interfaces, Classes, Traits and Enums
- CustomRelInterface
- The Extension Relation Type described in: - section 8.2 of the HAL specification - section 4 of the RFC5988 - Web Linking document.
Table of Contents
- $name : mixed
- __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
$name
private
mixed
$name
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
Return values
mixed —__set()
The magic setter is overridden to insure immutability.
public
final __set( $name, $value) : mixed
Parameters
Return values
mixed —__toString()
public
__toString() : mixed
Return values
mixed —getName()
public
getName() : string
Return values
string —the relation name