How to call a class function from another class using the parameters given
I have a PHP file calling the following function of the following class
Is it possible to send the class transfer() and function bolge_yukle() to another class as a parameter to be called from there?
$transfer = new transfer();
I have function of general.php which includes many general form functions but sometimes I would like to call the custom class and functions. I want to a add a function to General.php to call the custom class and functions. e.g:
I hope I could explain the situation.
$custom_func1 = new general_form();