Hi!
Can someone tell me what this is?
Is it calling this class's getResponse() function calling an inner function setContent()?PHP Code:$this->getResponse()->setContent("<html><body>Hello, World!</body></html>");
Thanks.
| SitePoint Sponsor |

Hi!
Can someone tell me what this is?
Is it calling this class's getResponse() function calling an inner function setContent()?PHP Code:$this->getResponse()->setContent("<html><body>Hello, World!</body></html>");
Thanks.





It's method chaining (google it), and is the equivalent of
$this->getResponse();
$this->setContext();

thanks!
Bookmarks