InterviewSolution
Saved Bookmarks
| 1. |
How Can You Inject Services Into A Volt Template? |
|
Answer» If a SERVICE container (DI) is available for Volt, you can use the services by only ACCESSING the name of the service in the template: {# Inject the 'flash' service #} If a service container (DI) is available for Volt, you can use the services by only accessing the name of the service in the template: {# Inject the 'flash' service #} |
|