View

Service Name in Container

Webiik\View\View

Purpose

Template engine incorporation. Template rendering.

Configuration

Not available.

Definition

By default, View Service is defined to utilize Twig template engine, read templates from app/private/frontend/views and Extensions, write cache to app/tmp/view and to support Twig debug mode. It inherits configuration from the Error Service to enable or disable Twig debug mode.

Changing the template engine?

Usual Usage

In controller.

Documentation

Read documentation to learn more about View component.