/** * * @param \Core_Dto_Mapping $dtoPass * @param \Core_Dto_Entity $dtoUser * @throws \Core_Exception_ServiceLayer_Verification */ public function changePass($dtoPass, $dtoUser, $checkPass = TRUE, $recover = FALSE) { $this->validatePass($dtoPass); $repository = $this->_getRepository(); $user = $repository->find($dtoUser->getSqUsuarioExterno()); $this->_changePassDb($dtoPass, $user, $checkPass); }