Command/RemoveCacheCommand.php 1 location
|
@@ 80-90 (lines=11) @@
|
| 77 |
|
* |
| 78 |
|
* @return array|mixed |
| 79 |
|
*/ |
| 80 |
|
private function resolveInputFilters(InputInterface $input) |
| 81 |
|
{ |
| 82 |
|
$filters = $input->getOption('filter'); |
| 83 |
|
|
| 84 |
|
if (count($filtersDeprecated = $input->getOption('filters'))) { |
| 85 |
|
$filters = array_merge($filters, $filtersDeprecated); |
| 86 |
|
@trigger_error('As of 1.9, use of the "--filters" option has been deprecated in favor of "--filter" and will be removed in 2.0.', E_USER_DEPRECATED); |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
return $filters; |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
|
Command/ResolveCacheCommand.php 1 location
|
@@ 168-178 (lines=11) @@
|
| 165 |
|
* |
| 166 |
|
* @return array|mixed |
| 167 |
|
*/ |
| 168 |
|
private function resolveInputFilters(InputInterface $input) |
| 169 |
|
{ |
| 170 |
|
$filters = $input->getOption('filter'); |
| 171 |
|
|
| 172 |
|
if (count($filtersDeprecated = $input->getOption('filters'))) { |
| 173 |
|
$filters = array_merge($filters, $filtersDeprecated); |
| 174 |
|
@trigger_error('As of 1.9, use of the "--filters" option has been deprecated in favor of "--filter" and will be removed in 2.0.', E_USER_DEPRECATED); |
| 175 |
|
} |
| 176 |
|
|
| 177 |
|
return $filters; |
| 178 |
|
} |
| 179 |
|
|
| 180 |
|
/** |
| 181 |
|
* @return FilterManager |