You are here

JalaliDateBundle.php in PersianTools 8

Namespace

Drupal\jalalidate

File

jalalidate/src/JalaliDateBundle.php
View source
<?php

namespace Drupal\jalalidate;

use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

/**
 * JalaliDate dependency injection container.
 */
class JalaliDateBundle extends Bundle {

  /**
   * Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build().
   */
  public function build(ContainerBuilder $container) {
    $container
      ->addCompilerPass(new JalaliDatePass());
  }

}

Classes

Namesort descending Description
JalaliDateBundle JalaliDate dependency injection container.