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