Symfony Dependency Injection Optimizer
C
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
config.m4
config.w32
php_symfony_dic.h
symfony_dic.c

README.md

Symfony Dependency Injection Container Optimizer

This extension declares a Symfony\Component\DependencyInjection\ContainerOptimizerInterface interface.

Simply make your container implement it :

<?php
use Symfony\Component\DependencyInjection\ContainerOptimizerInterface;
use Symfony\Component\DependencyInjection\Container;

class appDevDebugProjectContainer extends Container implements ContainerOptimizerInterface
{

}

The interface will replace the get(), has() and camelize() methods by C implemented ones, more performant hopefully.

Info:

> phpize
> ./configure
> make
> make install
  • Supports PHP 5.3, 5.4, 5.5 and 5.6
  • Supports ZTS