Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 772 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 772 Bytes

Var Dumper Twig

Extend Twig with symfony/var-dumper component functionality.

Installation

Install the package:

composer require nxsspryker/var-dumper-twig

Register the service provider in Pyz\Yves\ShopApplication\YvesBootstrap:

<?php

namespace Pyz\Yves\ShopApplication;

use NxsSpryker\Yves\VarDumperTwig\Plugin\ServiceProvider\VarDumperTwigServiceProvider;
use SprykerShop\Yves\ShopApplication\YvesBootstrap as SprykerYvesBootstrap;

class YvesBootstrap extends SprykerYvesBootstrap
{
    /**
     * @return void
     */
    protected function registerServiceProviders()
    {
        // ...
        $this->application->register(new VarDumperTwigServiceProvider());
    }
}