- if (isset($requirements['_method'])) {
- if (0 === count($this->methods)) {
- $this->methods = explode('|', $requirements['_method']);
- }
-
- @trigger_error('The "_method" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the "methods" option instead.', E_USER_DEPRECATED);
- }
-
- if (isset($requirements['_scheme'])) {
- if (0 === count($this->schemes)) {
- $this->schemes = explode('|', $requirements['_scheme']);
- }
-
- @trigger_error('The "_scheme" requirement is deprecated since version 2.2 and will be removed in 3.0. Use the "schemes" option instead.', E_USER_DEPRECATED);
- }
-