public function getContext()
    {
        $context = [
            'log_cmd_insert'    => [$this, 'onInsert'],
            'log_cmd_delete'    => [$this, 'onDelete'],
            'log_cmd_update'    => [$this, 'onUpdate'],
            'log_insert'        => [$this, 'onInsert'],
            'log_delete'        => [$this, 'onDelete'],
            'log_update'        => [$this, 'onUpdate'],
            'log_batchinsert'   => [$this, 'onBatchInsert'],
            'log_write_batch'   => [$this, 'onBatchInsert'],
            'log_query'         => [$this, 'onQuery']
        ];
        return $context;
    }
public function getContext()
    {
        $context = [
            'log_cmd_insert'    => [$this, 'onInsert'],
            'log_cmd_delete'    => [$this, 'onDelete'],
            'log_cmd_update'    => [$this, 'onUpdate'],
            'log_insert'        => [$this, 'onInsert'],
            'log_delete'        => [$this, 'onDelete'],
            'log_update'        => [$this, 'onUpdate'],
            'log_batchinsert'   => [$this, 'onBatchInsert'],
            'log_write_batch'   => [$this, 'onBatchInsert'],
            'log_query'         => [$this, 'onQuery']
        ];
        return $context;
    }
public function getContext ( ) { $ context = [ 'log_cmd_insert' => [ $ this , 'onInsert' ] , 'log_cmd_delete' => [ $ this , 'onDelete' ] , 'log_cmd_update' => [ $ this , 'onUpdate' ] , 'log_insert' => [ $ this , 'onInsert' ] , 'log_delete' => [ $ this , 'onDelete' ] , 'log_update' => [ $ this , 'onUpdate' ] , 'log_batchinsert' => [ $ this , 'onBatchInsert' ] , 'log_write_batch' => [ $ this , 'onBatchInsert' ] , 'log_query' => [ $ this , 'onQuery' ] ] ; return $ context ; }
Returns the context array for being converted into a stream context by the MongoConnection class.

@return array
Returns the context array for being converted into a stream context by the MongoConnection class .