class Rioc::Bean::Scope
Defines the scope of the bean
Constants
- SINGLETON
Single instance throughout the entire lifetime of the framework.
- TRANSIENT
Create a new instance every time the bean is requested to be resolved.
Defines the scope of the bean
Single instance throughout the entire lifetime of the framework.
Create a new instance every time the bean is requested to be resolved.