title: $this function in PHP with multiple arrow operator ->
body: <p>I am fairly new in PHP and want to ask a question. I know if you want to access a properties or method within a class or object you can use <code>$this-&gt;properties</code> or <code>$this-&gt;method</code>. </p>
  
  <p>But I encountered a code like this <code>$this-&gt;context-&gt;cart</code></p>
  
  <p>Can someone please explain the meaning behind this code ? </p>
  
  <p>If there is another similar question already being asked in SO can you please provide me the link, I will check it out.</p>
  
  <p>Big Thanks</p>