CoreFiles by mySites.guru
Link.php27 lines, 497 bytes, from Joomla_4.3.4-Stable-Full_Package.zip
Raw History Compare with 4.3.3
md5
1aff1340ce5784f53461bd3e94f9831e
sha1
3002af9e01a2745952dce9a3fab41d94946c0756
sha256
90cb4fef19feaad1550804f81d61c8144bb0cef153847a38a97741b7b1cc670f
<?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;
    }
}

The same content is in 141 releases, Joomla 4.0.0-alpha2 to 4.4.14. See them all, or every version of this file.