<?php class Bar { } class Foo { function __construct(Bar $bar) { $this->bar = $bar; } } $r = new ReflectionMethod('Foo', '__construct'); print_r($r);
You have javascript disabled. You will not be able to edit any code.