Hi,
since I updated your project to the latest ZendFramework version there are plenty of deprecated warnings like:
"Deprecated: You are retrieving the service locator from within the class CsnUser\Controller\IndexController. Please be aware that ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. You will need to update your class to accept all dependencies at creation, either via constructor arguments or setters, and use a factory to perform the injections. "
As I'm new to ZendFramework for me it is not clear how to migrate the code to avoid this warning.
Could you provide a solution?
Best Regards,
Mike R.
Hi,
since I updated your project to the latest ZendFramework version there are plenty of deprecated warnings like:
"Deprecated: You are retrieving the service locator from within the class CsnUser\Controller\IndexController. Please be aware that ServiceLocatorAwareInterface is deprecated and will be removed in version 3.0, along with the ServiceLocatorAwareInitializer. You will need to update your class to accept all dependencies at creation, either via constructor arguments or setters, and use a factory to perform the injections. "
As I'm new to ZendFramework for me it is not clear how to migrate the code to avoid this warning.
Could you provide a solution?
Best Regards,
Mike R.