Adldap\Connections\Provider::getGuard PHP Method

getGuard() public method

public getGuard ( )
    public function getGuard()
    {
        if (!$this->guard instanceof GuardInterface) {
            $this->setGuard($this->getDefaultGuard($this->connection, $this->configuration));
        }
        return $this->guard;
    }