ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ILIAS\Refinery\Password\Group Class Reference
+ Collaboration diagram for ILIAS\Refinery\Password\Group:

Public Member Functions

 __construct (Factory $data_factory, \ilLanguage $lng)
 
 hasMinLength ($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

 $data_factory
 
 $lng
 

Detailed Description

Author
Niels Theen nthee.nosp@m.n@da.nosp@m.tabay.nosp@m..de

Definition at line 16 of file Group.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 28 of file Group.php.

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

29  {
30  $this->data_factory = $data_factory;
31  $this->lng = $lng;
32  }

Member Function Documentation

◆ hasLowerChars()

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

Get the constraint that a password has lower case chars.

Returns
HasLowerChars

Definition at line 60 of file Group.php.

61  {
62  return new HasLowerChars($this->data_factory, $this->lng);
63  }

◆ hasMinLength()

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

Get the constraint that a password has a minimum length.

Parameters
int$min_length
Returns
HasMinLength

Definition at line 40 of file Group.php.

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

◆ hasNumbers()

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

Get the constraint that a password has numbers.

Returns
HasNumbers

Definition at line 70 of file Group.php.

71  {
72  return new HasNumbers($this->data_factory, $this->lng);
73  }

◆ hasSpecialChars()

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

Get the constraint that a password has special chars.

Returns
HasSpecialChars

Definition at line 80 of file Group.php.

81  {
82  return new HasSpecialChars($this->data_factory, $this->lng);
83  }

◆ hasUpperChars()

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

Get the constraint that a password has upper case chars.

Returns
HasUpperChars

Definition at line 50 of file Group.php.

51  {
52  return new HasUpperChars($this->data_factory, $this->lng);
53  }

Field Documentation

◆ $data_factory

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

Definition at line 21 of file Group.php.

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

◆ $lng

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

Definition at line 26 of file Group.php.

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


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