ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ILIAS\Refinery\Logical\Not Class Reference
+ Inheritance diagram for ILIAS\Refinery\Logical\Not:
+ Collaboration diagram for ILIAS\Refinery\Logical\Not:

Public Member Functions

 __construct (Constraint $constraint, Data\Factory $data_factory, \ILIAS\Language\Language $lng)
 

Detailed Description

Definition at line 27 of file Not.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Refinery\Logical\Not::__construct ( Constraint  $constraint,
Data\Factory  $data_factory,
\ILIAS\Language\Language  $lng 
)

Definition at line 29 of file Not.php.

33 {
35 static function ($value) use ($constraint) {
36 return !$constraint->accepts($value);
37 },
38 static function ($txt, $value) use ($constraint): string {
39 return (string) $txt('not_generic', $constraint->getErrorMessage($value));
40 },
41 $data_factory,
42 $lng
43 );
44 }
accepts($value)
Tells if the provided value complies.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31

References $lng, ILIAS\GlobalScreen\Provider\__construct(), and ILIAS\Refinery\Constraint\accepts().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: