PHP Class FOF30\Hal\Links

See also: http://stateless.co/hal_specification.html
Exibir arquivo Open project: akeeba/fof Class Usage Examples

Public Methods

Method Description
addLink ( string $rel, Link $link, boolean $overwrite = true ) : boolean Add a single link to the links collection
addLinks ( string $rel, array $links, boolean $overwrite = true ) : boolean Add multiple links to the links collection
getLinks ( string $rel = null ) : array | Link Returns the collection of links

Method Details