protected static function plivo(array $config = [], $title = null){
        $defaults = [
            'level' => Logger::DEBUG,
            'bubble' => true,
            'useSSL' => true,
            'host' => 'api.plivo.com',
            'version' => 'v1',
            'limit' => 160,
        ];

        $c = array_merge($defaults,$config);

        return new \Tylercd100\Monolog\Handler\PlivoHandler(
            $c['token'],
            $c['auth_id'],
            $c['from'],
            $c['to'],
            $c['level'],
            $c['bubble'],
            $c['useSSL'],
            $c['host'],
            $c['version'],
            $c['limit']);
    }
protected static function plivo(array $config = [], $title = null){
        $defaults = [
            'level' => Logger::DEBUG,
            'bubble' => true,
            'useSSL' => true,
            'host' => 'api.plivo.com',
            'version' => 'v1',
            'limit' => 160,
        ];

        $c = array_merge($defaults,$config);

        return new \Tylercd100\Monolog\Handler\PlivoHandler(
            $c['token'],
            $c['auth_id'],
            $c['from'],
            $c['to'],
            $c['level'],
            $c['bubble'],
            $c['useSSL'],
            $c['host'],
            $c['version'],
            $c['limit']);
    }
protected static function plivo ( array $ config = [ ] , $ title = null ) { $ defaults = [ 'level' => Logger :: DEBUG , 'bubble' => true , 'useSSL' => true , 'host' => 'api.plivo.com' , 'version' => 'v1' , 'limit' => 160 , ] ; $ c = array_merge ( $ defaults , $ config ) ; return new \ Tylercd100 \ Monolog \ Handler \ PlivoHandler ( $ c [ 'token' ] , $ c [ 'auth_id' ] , $ c [ 'from' ] , $ c [ 'to' ] , $ c [ 'level' ] , $ c [ 'bubble' ] , $ c [ 'useSSL' ] , $ c [ 'host' ] , $ c [ 'version' ] , $ c [ 'limit' ] ) ; }
Returns a PlivoHandler
@param  array  $config An array of config values to use
@param  string $title The title/subject to use
@return \Tylercd100\Monolog\Handler\PlivoHandler
Returns a PlivoHandler