vendor/friendsofsymfony/rest-bundle/Inflector/DoctrineInflector.php line 28

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of the FOSRestBundle package.
  4.  *
  5.  * (c) FriendsOfSymfony <http://friendsofsymfony.github.com/>
  6.  *
  7.  * For the full copyright and license information, please view the LICENSE
  8.  * file that was distributed with this source code.
  9.  */
  10. namespace FOS\RestBundle\Inflector;
  11. use Doctrine\Common\Inflector\Inflector;
  12. /**
  13.  * Inflector object using the Doctrine/Inflector.
  14.  *
  15.  * @author Mark Kazemier <Markkaz>
  16.  */
  17. class DoctrineInflector implements InflectorInterface
  18. {
  19.     /**
  20.      * {@inheritdoc}
  21.      */
  22.     public function pluralize($word)
  23.     {
  24.         return Inflector::pluralize($word);
  25.     }
  26. }