CoreFiles by mySites.guru
InflectorInterface.php33 lines, 835 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
9ffeb5f363bf54b78039ef865aa546f2
sha1
6daffb43fb747a8be4afdb8be18715971cdd5ccf
sha256
baebab0fdae32ba4c25a5d598c0490787c7a3129cd05b5f887c7b391d1c0cba5
<?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\Inflector;

interface InflectorInterface
{
    /**
     * Returns the singular forms of a string.
     *
     * If the method can't determine the form with certainty, several possible singulars are returned.
     *
     * @return string[]
     */
    public function singularize(string $plural): array;

    /**
     * Returns the plural forms of a string.
     *
     * If the method can't determine the form with certainty, several possible plurals are returned.
     *
     * @return string[]
     */
    public function pluralize(string $singular): array;
}

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