original_string: public function getLoginLogs()
      {
          /* @var $this User */
          $class = $this->loginLogClass;
          try {
              return $class::getLatests($this, Login::GET_ALL_LATESTS);
          } catch (\Exception $ex) {
              Yii::error($ex->getMessage(), __METHOD__);
              return [];
          }
      }
code: public function getLoginLogs()
      {
          /* @var $this User */
          $class = $this->loginLogClass;
          try {
              return $class::getLatests($this, Login::GET_ALL_LATESTS);
          } catch (\Exception $ex) {
              Yii::error($ex->getMessage(), __METHOD__);
              return [];
          }
      }
code_tokens: public function getLoginLogs ( ) { /* @var $this User */ $ class = $ this -> loginLogClass ; try { return $ class :: getLatests ( $ this , Login :: GET_ALL_LATESTS ) ; } catch ( \ Exception $ ex ) { Yii :: error ( $ ex -> getMessage ( ) , __METHOD__ ) ; return [ ] ; } }
docstring: Get login logs.
  @return Login[]
docstring_tokens: Get login logs .