|
MediaWiki master
|
Public Member Functions | |
| __construct (private readonly LoggerInterface $logger) | |
| isValid (mixed $condition) | |
| Checks if the passed user requirements condition is valid. | |
Definition at line 11 of file UserRequirementsConditionValidator.php.
| MediaWiki\User\UserRequirementsConditionValidator::__construct | ( | private readonly LoggerInterface | $logger | ) |
Definition at line 13 of file UserRequirementsConditionValidator.php.
| MediaWiki\User\UserRequirementsConditionValidator::isValid | ( | mixed | $condition | ) |
Checks if the passed user requirements condition is valid.
If it's invalid, the details of what's wrong are logged.
Definition at line 22 of file UserRequirementsConditionValidator.php.