models/log/UserLoginTrait.php
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 [];
        }
    }
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 [];
        }
    }
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 [ ] ; } }
Get login logs.
@return Login[]
Get login logs .