Zepi/Web/AccessControl/src/Manager/GroupManager.php
public function getGroupForName($name)
    {
        if (!$this->accessControlManager->hasAccessEntityForName(self::ACCESS_ENTITY_TYPE, $name)) {
            return false;
        }
        
        // Get the access entity
        $accessEntity = $this->accessControlManager->getAccessEntityForName(self::ACCESS_ENTITY_TYPE, $name);

        if ($accessEntity === false) {
            return false;
        }
        
        return $accessEntity;
    }
public function getGroupForName($name)
    {
        if (!$this->accessControlManager->hasAccessEntityForName(self::ACCESS_ENTITY_TYPE, $name)) {
            return false;
        }
        
        // Get the access entity
        $accessEntity = $this->accessControlManager->getAccessEntityForName(self::ACCESS_ENTITY_TYPE, $name);

        if ($accessEntity === false) {
            return false;
        }
        
        return $accessEntity;
    }
public function getGroupForName ( $ name ) { if ( ! $ this -> accessControlManager -> hasAccessEntityForName ( self :: ACCESS_ENTITY_TYPE , $ name ) ) { return false ; } // Get the access entity $ accessEntity = $ this -> accessControlManager -> getAccessEntityForName ( self :: ACCESS_ENTITY_TYPE , $ name ) ; if ( $ accessEntity === false ) { return false ; } return $ accessEntity ; }
Returns the Group object for the given name

@access public
@param string $name
@return boolean
Returns the Group object for the given name