コード例 #1
0
 /**
  * Return true if a password reset key can be created.
  *
  * @return boolean
  */
 public function canResetPassword()
 {
     return $this->isActive() && $this->definition->canResetPassword($this);
 }