yii\redis\Connection::getIsActive PHP 메소드

getIsActive() 공개 메소드

Returns a value indicating whether the DB connection is established.
public getIsActive ( ) : boolean
리턴 boolean whether the DB connection is established
    public function getIsActive()
    {
        return $this->_socket !== false;
    }