src/PAGI/Logger/Asterisk/Impl/AsteriskLoggerImpl.php
public static function getLogger(IClient $agi)
    {
        if (self::$instance === false) {
            $ret = new AsteriskLoggerImpl($agi);
            self::$instance = $ret;
        } else {
            $ret = self::$instance;
        }
        return $ret;
    }
public static function getLogger(IClient $agi)
    {
        if (self::$instance === false) {
            $ret = new AsteriskLoggerImpl($agi);
            self::$instance = $ret;
        } else {
            $ret = self::$instance;
        }
        return $ret;
    }
public static function getLogger ( IClient $ agi ) { if ( self :: $ instance === false ) { $ ret = new AsteriskLoggerImpl ( $ agi ) ; self :: $ instance = $ ret ; } else { $ ret = self :: $ instance ; } return $ ret ; }
Obtains an instance for this facade.

@param IClient $agi Client AGI to use.

@return void
Obtains an instance for this facade .