Hello world i have 2 seperate classes:
$class1=new Class1();
and
class class2 extends otherclass {
function class2()
{
// I need to call method from $class1 ($class1->somemethod())
// - how i can make it here?
// is global $class1 would work? or i need other method?)
}
}
Thanks in advance