Const
Stone decorator to mark a class as a stone and automatically bind it to the container.
This decorator can be used to easily mark a class as injectable within the Stone.js framework, allowing it to be managed by the service container.
The configuration options for the service.
A function to set the class as a service.
@Injectable({ singleton: true, alias: 'MyInjectableService' })class MyInjectableService { // Service class logic here.} Copy
@Injectable({ singleton: true, alias: 'MyInjectableService' })class MyInjectableService { // Service class logic here.}
Stone decorator to mark a class as a stone and automatically bind it to the container.
This decorator can be used to easily mark a class as injectable within the Stone.js framework, allowing it to be managed by the service container.