<?php class Foo{ function hoge(){ } } class Bar extends Foo{ } $refClass = new ReflectionClass('Bar'); $refMethod = $refClass->getMethod('hoge'); var_dump($refMethod->getDeclaringClass());
You have javascript disabled. You will not be able to edit any code.