Anonymous
public text v1 · immutableclass Father {
function __construct(){
$ClassA = new classA;
$classB = new classB;
}
}
classA is an event logger
so $classA->Log("blablalba");
and classB is, lets say is an image management class
when the user upload an image
i want to trigger Log(·user has uploaded bla)