private function voteForPage(TokenInterface $token, Page $page, array $attributes)
    {
        if (self::ACCESS_DENIED === $result = $this->voteForObject($token, $page, $attributes)) {
            if (null !== $page->getParent()) {
                $result = $this->voteForPage($token, $page->getParent(), $attributes);
            }
        }

        return $result;
    }