__get()
__get(string $service) : object
Magic method to get and create services.
When created it is also stored as a parameter of this object.
Parameters
| string | $service | name of class property not existing. |
Throws
- \Anax\DI\NotFoundException
No entry was found for this identifier.
Returns
object —as the service requested.