View Single Post

  #2 (permalink)  
Old 04-27-2008
petersprc
 
Posts: n/a
Default Re: Reflection and used classes

Hi,

Don't know of a way to this with reflection.

You can use PHPXref to locate references to a particular class, or you
could try a recursive grep for a class identifier.

Regards,

John Peters

On Apr 25, 2:37 pm, Hugh Oxford <ares...@fas.com> wrote:
> Hi Folks,
>
> Is there any way of using reflection to find out what classes other
> classes use?
>
> I do not mean which classes extend other classes, I mean within methods,
> for example, where the "new" keyword instantiates objects of other classes.
>
> Any ideas?


Reply With Quote