CoreFiles by mySites.guru
EvolvableLinkProviderInterface.php35 lines, 1,049 bytes, from Joomla_6.2.1-Stable-Full_Package.zip
Raw History Compare with 6.2.0
md5
16c4a53f19a6c9a84f98f9d014f989bb
sha1
b659d3ce61e2f2e87c514302aadf479c5da6fab7
sha256
2baf8b548e1aa1f0e99da36ac94a0e363f66ecf02ffdb9b500373456027d4dc4
<?php

namespace Psr\Link;

/**
 * An evolvable link provider value object.
 */
interface EvolvableLinkProviderInterface extends LinkProviderInterface
{
    /**
     * Returns an instance with the specified link included.
     *
     * If the specified link is already present, this method MUST return normally
     * without errors. The link is present if $link is === identical to a link
     * object already in the collection.
     *
     * @param LinkInterface $link
     *   A link object that should be included in this collection.
     * @return static
     */
    public function withLink(LinkInterface $link);

    /**
     * Returns an instance with the specifed link removed.
     *
     * If the specified link is not present, this method MUST return normally
     * without errors. The link is present if $link is === identical to a link
     * object already in the collection.
     *
     * @param LinkInterface $link
     *   The link to remove.
     * @return static
     */
    public function withoutLink(LinkInterface $link);
}

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