vendor/globunet/user-bundle/Entity/BaseGroup.php line 9

Open in your IDE?
  1. <?php
  2. // src/Globunet/UserBundle/Entity/Group.php
  3. namespace Globunet\UserBundle\Entity;
  4. use FOS\UserBundle\Model\Group as FOSBaseGroup;
  5. use Globunet\UserBundle\Model\GroupInterface;
  6. abstract class BaseGroup extends FOSBaseGroup implements GroupInterface
  7. {   
  8.     
  9.     public function __construct()
  10.     {
  11.         parent::__construct("", []);
  12.     }
  13.     
  14.     /**
  15.      * Represents a string representation
  16.      *
  17.      * @return string
  18.      */
  19.     public function __toString()
  20.     {
  21.         return $this->getName() ?: '';
  22.     }
  23. }