title: How to get value from the given object response from Twinfield in Laravel/Lumen?
body: <p>This is the response when I call the login method from twinfield API. It given the <strong>session id</strong> and <strong>cluster namespace</strong>, but the problem is how to get the value from it.</p>
  
  <pre><code>$customerApiConnector = new \PhpTwinfield\ApiConnectors\CustomerApiConnector($login);
  print_r($customerApiConnector);die;
  </code></pre>
  
  <p><strong>Output:</strong></p>
  
  <pre><code>  PhpTwinfield\ApiConnectors\CustomerApiConnector Object
      (
          [service:protected] =&gt; PhpTwinfield\Services\ProcessXmlService Object
              (
                  [trace] =&gt; 1
                  [compression] =&gt; 32
                  [_stream_context] =&gt; Resource id #153
                  [_soap_version] =&gt; 1
                  [sdl] =&gt; Resource id #154
                  [__default_headers] =&gt; Array
                      (
                          [0] =&gt; SoapHeader Object
                              (
                                  [namespace] =&gt; http://www.twinfield.com/
                                  [name] =&gt; Header
                                  [data] =&gt; Array
                                      (
                                          [SessionID] =&gt; f7b4c213-1a01-4c7c-87cb-7de80b1583fe
                                      )
  
                                  [mustUnderstand] =&gt; 
                              )
  
                      )
  
              )
  
      )
  </code></pre>
  
  <p>This is the other object.</p>
  
  <pre><code>Array
  (
      [1] =&gt; PhpTwinfield\CustomerAddress Object
          (
              [ID:PhpTwinfield\CustomerAddress:private] =&gt; 1
              [type:PhpTwinfield\CustomerAddress:private] =&gt; invoice
              [default:PhpTwinfield\CustomerAddress:private] =&gt; true
              [name:PhpTwinfield\CustomerAddress:private] =&gt; Anand
              [contact:PhpTwinfield\CustomerAddress:private] =&gt; 
              [country:PhpTwinfield\CustomerAddress:private] =&gt; IN
              [city:PhpTwinfield\CustomerAddress:private] =&gt; Indore
              [postcode:PhpTwinfield\CustomerAddress:private] =&gt; 452001
              [telephone:PhpTwinfield\CustomerAddress:private] =&gt; 
              [fax:PhpTwinfield\CustomerAddress:private] =&gt; 
              [email:PhpTwinfield\CustomerAddress:private] =&gt; anand@comfisoft.com
              [field1:PhpTwinfield\CustomerAddress:private] =&gt; 
              [field2:PhpTwinfield\CustomerAddress:private] =&gt; lig
              [field4:PhpTwinfield\CustomerAddress:private] =&gt; 
              [field5:PhpTwinfield\CustomerAddress:private] =&gt; 
              [field6:PhpTwinfield\CustomerAddress:private] =&gt; 
          )
  
  )
  </code></pre>