We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open the component, for wider use.
At the moment, the use of this component is limited to the migration of code for compatibility with version 4 of laminas-servicemanager.
The name of the component is laminas-servicemanager-migration and this can also include adding or removing support for laminas-servicemanager.
As an example, a rewrite of factories from:
class MyObjectFactory implements FactoryInterface { public function __invoke(Interop\Container\ContainerInterface $container, $requestedName, array $options = null) { $dependency = $container->get(stdClass::class); return new MyObject($dependency); } }
to:
class MyObjectFactory { public function __invoke(Psr\Container\ContainerInterface $container) { $dependency = $container->get(stdClass::class); return new MyObject($dependency); } }
and vice versa.
The text was updated successfully, but these errors were encountered:
that's seems possible with create custom rector rule for this specific use case.
Sorry, something went wrong.
samsonasik
No branches or pull requests
RFC
Goal
Open the component, for wider use.
Background
At the moment, the use of this component is limited to the migration of code for compatibility with version 4 of laminas-servicemanager.
Considerations
The name of the component is laminas-servicemanager-migration and this can also include adding or removing support for laminas-servicemanager.
Proposal(s)
As an example, a rewrite of factories from:
to:
and vice versa.
The text was updated successfully, but these errors were encountered: