Hi,
I want to create an instance of a class and construct it with different
params. The class name is a variable and the params change in each class. Is
there a way to pass params to the constructor of a class like you pass
params in the function call_user_func_array() ?
BTW, there's a solution
Hi,
I want to create an instance of a class and construct it with different
params. The class name is a variable and the params change in each class. Is
there a way to pass params to the constructor of a class like you pass
params in the function call_user_func_array() ?
BTW, there's a solution
Lorderon wrote:
I want to create an instance of a class and construct it with different
params. The class name is a variable and the params change in each class.
Is
there a way to pass params to the constructor of a class like you pass
params in the function call_user_func_array() ?
PHP has
3 matches
Mail list logo