title: how to access protected array values ?
body: <p>Hi I have this array and I am not sure how will I fetch the name , brand, image, token values from it?</p>
  
  <pre><code>Gloudemans\Shoppingcart\CartCollection Object
  (
    [items:protected] =&gt; Array
       (
            [1264477c2182cc04a63fde1186741fa7] =&gt;       Gloudemans\Shoppingcart\CartRowCollection Object
              (
                  [associatedModel:protected] =&gt; 
                  [associatedModelNamespace:protected] =&gt; 
                  [items:protected] =&gt; Array
                      (
                          [rowid] =&gt; 1264477c2182cc04a63fde1186741fa7
                          [id] =&gt; 1
                          [name] =&gt; washington apples
                          [qty] =&gt; 1
                          [price] =&gt; 90
                          [options] =&gt; Gloudemans\Shoppingcart\CartRowOptionsCollection Object
                              (
                                  [items:protected] =&gt; Array
                                      (
                                          [brand] =&gt; awesome apple
                                          [image] =&gt; C:\xampp\htdocs\srsgrocery\storage/app/products/1/apple-06.jpg
                                          [token] =&gt; WiQgUjqgHEB3HZ2ImJ6iPQWHnm246twFD3Uyk6AH
                                      )
  
                              )
  
                          [subtotal] =&gt; 90
                      )
  
              )
  
      )
  </code></pre>
  
  <p>)</p>
  
  <p>I am using the php framework called laravel.<br>
  Please help. </p>