samedi 30 septembre 2017

How can I know in a diynamic way what functions will be called

I have the class bellow:

class Foo
{
    function a()
    {
         $this->b();
    }

    function b()
    {
    }
}

How can i dynamically knows what functions a() is calling??

There's a way to know that a() will call b()?





Aucun commentaire:

Enregistrer un commentaire