2014-08-31 17:42:48 +02:00
|
|
|
<?php
|
|
|
|
namespace Szurubooru\FormData;
|
|
|
|
|
|
|
|
class RegistrationFormData
|
|
|
|
{
|
2014-09-07 00:33:46 +02:00
|
|
|
public $userName;
|
2014-08-31 17:42:48 +02:00
|
|
|
public $password;
|
|
|
|
public $email;
|
2014-09-05 19:18:49 +02:00
|
|
|
|
|
|
|
public function __construct($inputReader = null)
|
|
|
|
{
|
|
|
|
if ($inputReader !== null)
|
|
|
|
{
|
2014-09-07 00:33:46 +02:00
|
|
|
$this->userName = $inputReader->userName;
|
2014-09-05 19:18:49 +02:00
|
|
|
$this->password = $inputReader->password;
|
|
|
|
$this->email = $inputReader->email;
|
|
|
|
}
|
|
|
|
}
|
2014-08-31 17:42:48 +02:00
|
|
|
}
|