Parsley v1.3.3
  • GitHub Repo
  • Issues
Powered by
  1. /
  2. Tags /
  3. service factory

Tag: service factory

See all tags.

Registration
Register Factory Functions

In Parsley, you can register a factory function to provide more control and customization when creating service instances. A factory function differs from a constructor function because it allows you to pass additional parameters to configure the service creation process.

Registration
Register Named Services

In Parsley, you can register services with specific names to support more granular control and flexible resolution of service instances. Named services are beneficial when you need to manage multiple implementations of the same interface or provide different configurations for different contexts.

  • License Apache 2.0

© Copyright 2026 - Matthias Friedrich. All rights reserved.