<?php class Foo { private $baz = 'baz'; public function gimme(Foo $bar) { return $bar->baz; } } var_dump((new Foo)->gimme(new Foo));
You have javascript disabled. You will not be able to edit any code.