CoreFiles by mySites.guru
Link.php27 lines, 511 bytes, from Joomla_6.2.0-beta1-Beta-Full_Package.zip
Raw History Compare with 6.1.0-beta3
md5
4c03cdac93fab5cbe563c1133ae0ef2a
sha1
eaffebf8bb0f119e01164c0456583fe50cddc3fe
sha256
72416d6844d4a67dbfe870ef4917bd331459b0a343327d8e0ffc3bbef9514a50
<?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;
    }
}

The same content is in 158 releases, Joomla 5.0.0-alpha1 to 6.3.0-alpha1. See them all, or every version of this file.