I have an index.php file. In this I call a function of another class ($classA). First to store a given object and then to use it:
$classA
index.php