ILIAS  release_8 Revision v8.23
Password.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /* Copyright (c) 2018 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
6 
7 namespace ILIAS\Data;
8 
16 class Password
17 {
18  private string $pass;
19 
20  public function __construct(string $pass)
21  {
22  $this->pass = $pass;
23  }
24 
25  public function toString(): string
26  {
27  return $this->pass;
28  }
29 }
__construct(string $pass)
Definition: Password.php:20
A password is used as part of credentials for authentication.
Definition: Password.php:16