function __construct(FullCustomer $customer = null) { parent::__construct(); $this->password = ''; if ($customer) { $this->setCustomer($customer); } }
/** * Constructor */ public function __construct() { parent::__construct(); $this->username = sprintf("Staff_%s", uniqid()); }