I'm a n00b tying to get my head around the operator syntax. I understand it's called the object operator and I can see how it's used (Where do we use the object operator "->" in PHP?) by itself.
I'm trying to learn what the purpose is when they are strung together like in this snippet (e.g. "switch($this->request->param('id')):
here's a snippet of code from a site using Kohana:
public function action_list()
{
$connections = ORM::factory('Connection')
->with('property')
->with('inviter');
switch ($this->request->param('id')) {
// more code...
}
}