skqr/hateoas

View on GitHub
Security/VoterFilterInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @copyright 2014 Integ S.A.
 * @license http://opensource.org/licenses/MIT The MIT License (MIT)
 * @author Javier Lorenzana <javier.lorenzana@gointegro.com>
 */

namespace GoIntegro\Hateoas\Security;

// Security.
use Symfony\Component\Security\Core\Authorization\Voter\VoterInterface;
// Queries.
use GoIntegro\Hateoas\JsonApi\Request\FilterInterface;

/**
 * Provides the same access control on paginated queries and "isGranted" calls.
 * @see http://symfony.com/doc/current/cookbook/security/voters_data_permission.html
 */
interface VoterFilterInterface extends VoterInterface, FilterInterface
{
}