MediaWiki master
UserRequirementsConditionEvaluatorBase.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\User;
8
20
33 abstract public function checkCondition(
34 string|int $conditionType,
35 array $args,
36 UserIdentity $user,
37 bool $isPerformingRequest
38 ): ?bool;
39}
A base class for classes that evaluate atomic user requirements conditions (i.e., conditions checked ...
checkCondition(string|int $conditionType, array $args, UserIdentity $user, bool $isPerformingRequest)
Evaluates the specified condition and returns whether the condition is met.
Interface for objects representing user identity.