ILIAS  release_8 Revision v8.24
Password.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5/* Copyright (c) 2018 Nils Haagen <nils.haagen@concepts-and-training.de> Extended GPL, see docs/LICENSE */
6
7namespace ILIAS\Data;
8
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}
A password is used as part of credentials for authentication.
Definition: Password.php:17
__construct(string $pass)
Definition: Password.php:20