PHP Класс FOF30\Hal\Links

См. также: http://stateless.co/hal_specification.html
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов