title: How can i access a private property in Object
body: <p>I am using couchbase PHP Sdk to query some data and they made some changes from version 2.x to 3.x. Before i could get some metrics easily now I get the error&gt; It complains that I cant access private value.</p>
  <p>Uncaught Error: Cannot access private property Couchbase\QueryResultImpl::$meta</p>
  <pre><code>Couchbase\QueryResultImpl Object
  (
      [status:Couchbase\QueryResultImpl:private] =&gt; 0
      [meta:Couchbase\QueryResultImpl:private] =&gt; Couchbase\QueryMetaDataImpl Object
          (
              [status:Couchbase\QueryMetaDataImpl:private] =&gt; success
              [request_id:Couchbase\QueryMetaDataImpl:private] =&gt; b1c2bfc4-31b1-4c17-9706-2d0b1e574505
              [client_context_id:Couchbase\QueryMetaDataImpl:private] =&gt; d41ef78df23fffe4
              [signature:Couchbase\QueryMetaDataImpl:private] =&gt; Array
                  (
                      [ModificationTimestamp] =&gt; json
                  )
  
              [errors:Couchbase\QueryMetaDataImpl:private] =&gt; 
              [warnings:Couchbase\QueryMetaDataImpl:private] =&gt; 
              [metrics:Couchbase\QueryMetaDataImpl:private] =&gt; Array
                  (
                      [elapsedTime] =&gt; 13.425556ms
                      [executionTime] =&gt; 13.228202ms
                      [resultCount] =&gt; 1
                      [resultSize] =&gt; 47
                      [serviceLoad] =&gt; 0
                  )
  
          )
  
      [rows:Couchbase\QueryResultImpl:private] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [ModificationTimestamp] =&gt; 2022-03-14 13:06:42
                  )
          )
  )
  </code></pre>