コード例 #1
0
ファイル: Customer.php プロジェクト: vivait/user-bundle
 function __construct(FullCustomer $customer = null)
 {
     parent::__construct();
     $this->password = '';
     if ($customer) {
         $this->setCustomer($customer);
     }
 }
コード例 #2
0
ファイル: Staff.php プロジェクト: vivait/user-bundle
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->username = sprintf("Staff_%s", uniqid());
 }