<?php
// src/Globunet/UserBundle/Entity/Group.php
namespace Globunet\UserBundle\Entity;
use FOS\UserBundle\Model\Group as FOSBaseGroup;
use Globunet\UserBundle\Model\GroupInterface;
abstract class BaseGroup extends FOSBaseGroup implements GroupInterface
{
public function __construct()
{
parent::__construct("", []);
}
/**
* Represents a string representation
*
* @return string
*/
public function __toString()
{
return $this->getName() ?: '';
}
}