Beispiel #1
0
 public function getWord()
 {
     if ($this->_word === false) {
         $this->_word = Usuario::findBySenha($this->senha);
         if (!$this->_word) {
             $this->_word = Usuario::validatePassword($this->senha);
         }
     }
     return $this->_word;
 }