コード例 #1
0
 private function _validate()
 {
     return $this->_doctor instanceof Doctor && ($user = $this->_doctor->getUser()) instanceof Profile && $user->getId() == $this->_user->getId();
 }