Вход Регистрация
Файл: vendor/symfony/string/Slugger/SluggerInterface.php
Строк: 47
<?php

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

namespace SymfonyComponentStringSlugger;

use 
SymfonyComponentStringAbstractUnicodeString;

/**
 * Creates a URL-friendly slug from a given string.
 *
 * @author Titouan Galopin <galopintitouan@gmail.com>
 */
interface SluggerInterface
{
    
/**
     * Creates a slug for the given string and locale, using appropriate transliteration when needed.
     */
    
public function slug(string $stringstring $separator '-', ?string $locale null): AbstractUnicodeString;
}
Онлайн: 0
Реклама