summaryrefslogtreecommitdiff
path: root/vendor/aura/router/src/Rule/RuleInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/aura/router/src/Rule/RuleInterface.php')
-rw-r--r--vendor/aura/router/src/Rule/RuleInterface.php35
1 files changed, 0 insertions, 35 deletions
diff --git a/vendor/aura/router/src/Rule/RuleInterface.php b/vendor/aura/router/src/Rule/RuleInterface.php
deleted file mode 100644
index 6c6bfffaf6..0000000000
--- a/vendor/aura/router/src/Rule/RuleInterface.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-/**
- *
- * This file is part of Aura for PHP.
- *
- * @license http://opensource.org/licenses/bsd-license.php BSD
- *
- */
-namespace Aura\Router\Rule;
-
-use Aura\Router\Route;
-use Psr\Http\Message\ServerRequestInterface;
-
-/**
- *
- * Interface for rules.
- *
- * @package Aura.Router
- *
- */
-interface RuleInterface
-{
- /**
- *
- * Check if the Request matches the Route.
- *
- * @param ServerRequestInterface $request The HTTP request.
- *
- * @param Route $route The route.
- *
- * @return bool True on success, false on failure.
- *
- */
- public function __invoke(ServerRequestInterface $request, Route $route);
-}