<?php trait Foo { function bar(){} } class Bar { use Foo { Foo::bar as baz; } } $rm = new ReflectionMethod('Bar', 'baz'); var_dump($rm->getName());
You have javascript disabled. You will not be able to edit any code.