digicomp/flowobjectresolving
composer require digicomp/flowobjectresolving
Helper trait offering an easy and standard way to resolve service classes with nice names
2.1.0
Readme excerpt
DigiComp.FlowObjectResolvingThis package is here to help your DI to resolve nice human readable names to class names, to the class names which, should be used.
Additionally, it allows you to get a list of all those nice names, so you could list them from a CommandController, if you want to.
class DefaultResolver { use ResolverTrait; protected static function getManagedInterface(): string { return RequestPatternInterface::class; } protected static function getManagedNamespace(): string { return 'Security\\RequestPattern\\'; } }This class would for example list the following with a simple getAvailableNames:
['Neos.…Read more
The same vendor provides 9 package(s).