2 Repos
Injecting specific service methods as closures to decouple consumers from the full service implementation.
Distinct from Service Method Mapping: Nothing in the shortlist describes the architectural pattern of injecting a single method closure instead of a whole service.
Explore 2 awesome GitHub repositories matching software engineering & architecture · Method-Level Injection. Refine with filters or upvote what's useful.
This PHP routing library is an HTTP request router and matcher designed to map incoming URL paths to specific controller actions using defined patterns and configuration. It serves as a programmatic interface for defining, loading, and resolving URL patterns, while providing a URL generator to produce absolute or relative URIs from route names and parameters. The system supports diverse route loading through YAML, XML, PHP arrays, and class attributes, utilizing compiled route matching to optimize performance. It enables sophisticated request handling through regex-based path matching, sub-do
Provides a closure that targets a single method of a service to decouple the consumer.
Swinject is a dependency injection framework for Swift that manages object creation and wiring through a centralized container. It resolves dependencies by looking up registered service types at runtime, supporting iOS, macOS, and Linux platforms. The framework provides multiple injection patterns, including initializer injection where dependencies are passed through initializer parameters, property injection that sets resolved dependencies on stored properties after object creation, and method injection that calls methods with resolved dependencies as arguments. It handles complex dependency
Calls a method on a component with resolved dependencies as arguments.