| 1 | <?php |
||
| 7 | abstract class RouteMethodsBase implements RouteModifierInterface |
||
| 8 | { |
||
| 9 | |||
| 10 | /** |
||
| 11 | * @var string[] |
||
| 12 | */ |
||
| 13 | private $methods; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string[] $methods |
||
| 17 | * E.g. ['GET', 'POST']. |
||
| 18 | */ |
||
| 19 | protected function __construct(array $methods) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \Symfony\Component\Routing\Route $route |
||
| 26 | */ |
||
| 27 | public function modifyRoute(Route $route) |
||
| 31 | } |
||
| 32 |