| 1 | <?php |
||
| 10 | class LoginError |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var string name |
||
| 14 | */ |
||
| 15 | protected $name; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string description |
||
| 19 | */ |
||
| 20 | protected $description; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $name |
||
| 24 | * @param string $description |
||
| 25 | */ |
||
| 26 | public function __construct($name, $description) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getName() |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getDescription() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function __toString() |
||
| 55 | } |
||
| 56 |