Spade
Mini Shell
| Directory:~$ /proc/self/root/home/lmsyaran/www/joomla5/libraries/vendor/fig/link-util/src/ |
| [Home] [System Details] [Kill Me] |
<?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(string $rel = '', string $href =
'')
{
if ($rel) {
$this->rel[$rel] = true;
}
$this->href = $href;
}
}