ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ILIAS\Refinery\Password\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Password\Group:

Public Member Functions

 __construct (Factory $data_factory, \ILIAS\Language\Language $lng)
 
 hasMinLength (int $min_length)
 Get the constraint that a password has a minimum length. More...
 
 hasUpperChars ()
 Get the constraint that a password has upper case chars. More...
 
 hasLowerChars ()
 Get the constraint that a password has lower case chars. More...
 
 hasNumbers ()
 Get the constraint that a password has numbers. More...
 
 hasSpecialChars ()
 Get the constraint that a password has special chars. More...
 

Protected Attributes

Factory $data_factory
 
ILIAS Language Language $lng
 

Detailed Description

Definition at line 26 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Refinery\Password\Group::__construct ( Factory  $data_factory,
\ILIAS\Language\Language  $lng 
)

Definition at line 31 of file Group.php.

32 {
33 $this->data_factory = $data_factory;
34 $this->lng = $lng;
35 }
ILIAS Language Language $lng
Definition: Group.php:29

References ILIAS\Refinery\Password\Group\$data_factory, ILIAS\Refinery\Password\Group\$lng, and ILIAS\Repository\lng().

+ Here is the call graph for this function:

Member Function Documentation

◆ hasLowerChars()

ILIAS\Refinery\Password\Group::hasLowerChars ( )

Get the constraint that a password has lower case chars.

Definition at line 56 of file Group.php.

56 : Constraint
57 {
58 return new HasLowerChars($this->data_factory, $this->lng);
59 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ hasMinLength()

ILIAS\Refinery\Password\Group::hasMinLength ( int  $min_length)

Get the constraint that a password has a minimum length.

Definition at line 40 of file Group.php.

40 : Constraint
41 {
42 return new HasMinLength($min_length, $this->data_factory, $this->lng);
43 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ hasNumbers()

ILIAS\Refinery\Password\Group::hasNumbers ( )

Get the constraint that a password has numbers.

Definition at line 64 of file Group.php.

64 : Constraint
65 {
66 return new HasNumbers($this->data_factory, $this->lng);
67 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ hasSpecialChars()

ILIAS\Refinery\Password\Group::hasSpecialChars ( )

Get the constraint that a password has special chars.

Definition at line 72 of file Group.php.

72 : Constraint
73 {
74 return new HasSpecialChars($this->data_factory, $this->lng);
75 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

◆ hasUpperChars()

ILIAS\Refinery\Password\Group::hasUpperChars ( )

Get the constraint that a password has upper case chars.

Definition at line 48 of file Group.php.

48 : Constraint
49 {
50 return new HasUpperChars($this->data_factory, $this->lng);
51 }

References ILIAS\Repository\lng().

+ Here is the call graph for this function:

Field Documentation

◆ $data_factory

Factory ILIAS\Refinery\Password\Group::$data_factory
protected

Definition at line 28 of file Group.php.

Referenced by ILIAS\Refinery\Password\Group\__construct().

◆ $lng

ILIAS Language Language ILIAS\Refinery\Password\Group::$lng
protected

Definition at line 29 of file Group.php.

Referenced by ILIAS\Refinery\Password\Group\__construct().


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