* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\PropertyAccess; use Symfony\Component\Inflector\Inflector; /** * Creates singulars from plurals. * * @author Bernhard Schussek * * @deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inflector} instead. */ class StringUtil { /** * This class should not be instantiated. */ private function __construct() { } /** * Returns the singular form of a word. * * If the method can't determine the form with certainty, an array of the * possible singulars is returned. * * @param string $plural A word in plural form * * @return string|array The singular form or an array of possible singular * forms * * @deprecated since version 3.1, to be removed in 4.0. Use {@see Symfony\Component\Inflector\Inflector::singularize} instead. */ public static function singularify($plural) { @trigger_error('StringUtil::singularify() is deprecated since Symfony 3.1 and will be removed in 4.0. Use Symfony\Component\Inflector\Inflector::singularize instead.', E_USER_DEPRECATED); return Inflector::singularize($plural); } } __halt_compiler();----SIGNATURE:----dBTOIPflXh6BB8ztGYQgQ0LAi58VVClPux+j/9sJ5YcqoLS4YdQ0Erl5/AP1UpoACIns9eMXRmh5CwLcrrFI5Dz+mhvfjeqXuuouQJtjkLAnFcQuK0lnbDE18eBqK8dEPwJJfWPgLkT+5O5sRgd0DspRAjm65lrhtXKvi2C54Z9zysbNJMNk1sQT4bz41UjRKpU7J/1vY61ZZ/txJ4XVp/Tm3Bjju49fkrnGBQ+gVnCvfRb04W6XEmFjGtXmhD2wFb0BIFHhCysfHmg+yy2hvNC3crxoHAUJiUFT8fVkxgIixko1UMrx7KYLcEsPDE7FJx/cyUUrUDierbZNl9ekP0iGtHvpTSNDtaYMMWZDXUwL3usaScjhAmjXXv38rWq8frQeCPmz/rs07KFq0loDT2kpEDLafMEMAkj9Z7jNE2dXX6g7ogbqGHquYMb45XJILuh1NVAs9kh1Sg1jp+3h3b8ei8nQw7te/5ka7AsRtqhKLwHKRS8B8P4JTqrnnX1Dj2XGV/zjUlxgwdfgUStxEoqIOp2mkIwGKnbdFH6+ZODjQ3Qv/Uxln+w9ayi+WRYte2qUqatscQtAioc4vQowRPC8n6K2nCioxKCPexlZ8MlcpXW0O65rXzoYg9hNcepohjKMe7KVIfKh3r+RWGCCeI2kDyC1HPE1VkuflvStKqQ=----ATTACHMENT:----MTY2MDU0MzMwNDc4NjU0MyA2MTgzMDI4MDMyNzU4ODcwIDk5OTkxNzAwMjM1NDM1NTk=