eZ\Publish\Core\Persistence\Legacy\User\Role\Gateway\ExceptionConversion::loadPoliciesByUserId PHP 메소드

loadPoliciesByUserId() 공개 메소드

Returns the user policies associated with the user.
public loadPoliciesByUserId ( mixed $userId ) : UserPolicy[]
$userId mixed
리턴 UserPolicy[]
    public function loadPoliciesByUserId($userId)
    {
        try {
            return $this->innerGateway->loadPoliciesByUserId($userId);
        } catch (DBALException $e) {
            throw new RuntimeException('Database error', 0, $e);
        } catch (PDOException $e) {
            throw new RuntimeException('Database error', 0, $e);
        }
    }