-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProviderInterface.php
More file actions
33 lines (29 loc) · 937 Bytes
/
ProviderInterface.php
File metadata and controls
33 lines (29 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
/*
*
* (c) Yaroslav Honcharuk <yaroslav.xs@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Yarhon\RouteGuardBundle\Security\TestProvider;
use Symfony\Component\Routing\Route;
use Yarhon\RouteGuardBundle\Controller\ControllerMetadata;
use Yarhon\RouteGuardBundle\Security\Test\AbstractTestBagInterface;
use Yarhon\RouteGuardBundle\Exception\ExceptionInterface;
/**
* @author Yaroslav Honcharuk <yaroslav.xs@gmail.com>
*/
interface ProviderInterface
{
/**
* @param string $routeName
* @param Route $route
* @param ControllerMetadata|null $controllerMetadata
*
* @return AbstractTestBagInterface|null
*
* @throws ExceptionInterface
*/
public function getTests($routeName, Route $route, ControllerMetadata $controllerMetadata = null);
}