class Comparator
Comparator.
string | getTarget() Gets the target value. | |
setTarget(string $target) Sets the target value. | ||
string | getOperator() Gets the comparison operator. | |
setOperator(string $operator) Sets the comparison operator. | ||
bool | test(mixed $test) Tests against the target. |
Gets the target value.
string | The target value |
Sets the target value.
string | $target | The target value |
Gets the comparison operator.
string | The operator |
Sets the comparison operator.
string | $operator | A valid operator |
InvalidArgumentException |
Tests against the target.
mixed | $test | A test value |
bool |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Finder/Comparator/Comparator.html