| 1 | <?php |
||
| 5 | class HasParameters extends \Psecio\Invoke\MatchInstance |
||
| 6 | { |
||
| 7 | protected $error = 'Mismatch on parameters'; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Evaluate the parameters on the current route to |
||
| 11 | * ensure there's a correct match |
||
| 12 | * |
||
| 13 | * @param array $data Set of context items (user, resource, route) |
||
| 14 | * @return boolean Pass/fail status |
||
| 15 | */ |
||
| 16 | public function evaluate($data) |
||
| 25 | } |