get()
get(string $service) : object
Get an instance of the service object, managing singletons.
Parameters
| string | $service | as a service label, naming this service. |
Throws
- \Anax\DI\Exception
when service accessed is not loaded.
Returns
object —as instance of the service object.