| Total Complexity | 6 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class RouteUrlSituationProvider implements ForgettableSituation |
||
| 8 | { |
||
| 9 | 121 | public function getListener() |
|
| 12 | } |
||
| 13 | |||
| 14 | 121 | public function getSituationProvider() |
|
| 15 | { |
||
| 16 | 121 | return RouteUrlsNormalizer::class; |
|
| 17 | } |
||
| 18 | |||
| 19 | 121 | public function getForgetKey() |
|
| 20 | { |
||
| 21 | 121 | return 'routeChecks'; |
|
| 22 | } |
||
| 23 | |||
| 24 | 121 | public function getMethods() |
|
| 25 | { |
||
| 26 | return [ |
||
| 27 | 121 | 'whenYouVisitUrl', |
|
| 28 | 'whenYouSendGet', |
||
| 29 | 'whenYouSendPost', |
||
| 30 | 'whenYouSendPatch', |
||
| 31 | 'whenYouSendPut', |
||
| 32 | 'whenYouSendDelete', |
||
| 33 | ]; |
||
| 34 | } |
||
| 35 | |||
| 36 | 14 | public static function getForgetMethods() |
|
| 39 | } |
||
| 40 | |||
| 41 | 1 | public static function getForgetArgs($method, $args) |
|
| 42 | { |
||
| 46 |