Esempio n. 1
0
 public function setUsername($username)
 {
     parent::setUsername($username);
     $this->setEmail($username . '@lichess.org');
 }
Esempio n. 2
0
 public function setEmail($email)
 {
     $this->setUsername($email);
     return parent::setEmail($email);
 }
Esempio n. 3
0
 public function __construct()
 {
     parent::__construct();
     $this->created = new \DateTime();
     $this->completedProfile = false;
 }
Esempio n. 4
0
 public function __construct()
 {
     parent::__construct();
 }
 public function __toString()
 {
     $this->__load();
     return parent::__toString();
 }
Esempio n. 6
0
 /**
  * Document startup
  */
 public function __construct()
 {
     parent::__construct();
     $this->setCreatedAt(new \MongoDate());
 }
Esempio n. 7
0
 public function __construct()
 {
     parent::__construct();
     // your own logic
 }