%PDF- %PDF-
Direktori : /home/emtnaeewxm/www/vendor/fig/link-util/src/ |
Current File : /home/emtnaeewxm/www/vendor/fig/link-util/src/Link.php |
<?php namespace Fig\Link; use Psr\Link\EvolvableLinkInterface; class Link implements EvolvableLinkInterface { use EvolvableLinkTrait; /** * Link constructor. * * @param string $rel * A single relationship to include on this link. * @param string $href * An href for this link. */ public function __construct($rel = '', $href = '') { if ($rel) { $this->rel[$rel] = true; } $this->href = $href; } }