src/Kunstmaan/AdminBundle/Entity/BaseUser.php
public function getGroupIds()
    {
        $groups = $this->groups;

        $groupIds = array();
        if (count($groups) > 0) {
            /* @var $group GroupInterface */
            foreach ($groups as $group) {
                $groupIds[] = $group->getId();
            }
        }

        return $groupIds;
    }
public function getGroupIds()
    {
        $groups = $this->groups;

        $groupIds = array();
        if (count($groups) > 0) {
            /* @var $group GroupInterface */
            foreach ($groups as $group) {
                $groupIds[] = $group->getId();
            }
        }

        return $groupIds;
    }
public function getGroupIds ( ) { $ groups = $ this -> groups ; $ groupIds = array ( ) ; if ( count ( $ groups ) > 0 ) { /* @var $group GroupInterface */ foreach ( $ groups as $ group ) { $ groupIds [ ] = $ group -> getId ( ) ; } } return $ groupIds ; }
Gets the groupIds for the user.

@return array
Gets the groupIds for the user .