CoreFiles by mySites.guru
SluggerInterface.php27 lines, 715 bytes, from Joomla_4.2.9-Stable-Full_Package.zip
Raw History Compare with 4.2.8
md5
23399e121f0d3c61cf7b1be3e8d2a730
sha1
7928d7c65a0f69fd4a9cb1145d688e8721a96028
sha256
91b39afe8b351ed38232eded04996a40fec24901a068fb0e4cb94a1b326838c8
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\String\Slugger;

use Symfony\Component\String\AbstractUnicodeString;

/**
 * Creates a URL-friendly slug from a given string.
 *
 * @author Titouan Galopin <[email protected]>
 */
interface SluggerInterface
{
    /**
     * Creates a slug for the given string and locale, using appropriate transliteration when needed.
     */
    public function slug(string $string, string $separator = '-', string $locale = null): AbstractUnicodeString;
}

The same content is in 150 releases, Joomla 4.0.0-beta4 to 5.1.0-alpha4. See them all, or every version of this file.