original_string: public function getPermissionsForUuid($accessEntityUuid)
      {
          // Do not check the database if we haven't all data
          if ($accessEntityUuid == '') {
              return array();
          }
      
          try {
              $accessLevels = $this->getPermissionsRawForUuid($accessEntityUuid);
      
              $accessLevels = $this->runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions', $accessLevels);
  
              return $accessLevels;
          } catch (\Exception $e) {
              throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
          }
      }
code: public function getPermissionsForUuid($accessEntityUuid)
      {
          // Do not check the database if we haven't all data
          if ($accessEntityUuid == '') {
              return array();
          }
      
          try {
              $accessLevels = $this->getPermissionsRawForUuid($accessEntityUuid);
      
              $accessLevels = $this->runtimeManager->executeFilter('\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions', $accessLevels);
  
              return $accessLevels;
          } catch (\Exception $e) {
              throw new Exception('Cannot load the permission for the given uuid "' . $accessEntityUuid . '".', 0, $e);
          }
      }
code_tokens: public function getPermissionsForUuid ( $ accessEntityUuid ) { // Do not check the database if we haven't all data if ( $ accessEntityUuid == '' ) { return array ( ) ; } try { $ accessLevels = $ this -> getPermissionsRawForUuid ( $ accessEntityUuid ) ; $ accessLevels = $ this -> runtimeManager -> executeFilter ( '\\Zepi\\Core\\AccessControl\\Filter\\PermissionsBackend\\ResolvePermissions' , $ accessLevels ) ; return $ accessLevels ; } catch ( \ Exception $ e ) { throw new Exception ( 'Cannot load the permission for the given uuid "' . $ accessEntityUuid . '".' , 0 , $ e ) ; } }
docstring: Returns an array with all granted access levels for the given
  access entity uuid
  
  @access public
  @param string $accessEntityUuid
  @return array|false
  
  @throws \Zepi\Core\AccessControl\Exception Cannot load the permission for the given uuid "{uuid}".
docstring_tokens: Returns an array with all granted access levels for the given access entity uuid