yii\redis\Connection::getIsActive PHP Méthode

getIsActive() public méthode

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