<?php use Symfony\Component\DependencyInjection\ContainerBuilder; $container = new ContainerBuilder(); $container ->register('foo', '%foo.class%') ; return $container;
info at phpclasses dot org