PHP Classes

File: vendor/symfony/dependency-injection/Tests/Fixtures/containers/container12.php

Recommend this page to a friend!
  Classes of Gavin Gordon Markowski   Helphp PHP Class Generator   vendor/symfony/dependency-injection/Tests/Fixtures/containers/container12.php   Download  
File: vendor/symfony/dependency-injection/Tests/Fixtures/containers/container12.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Helphp PHP Class Generator
Generate classes from configuration parameters
Author: By
Last change:
Date: 2 years ago
Size: 271 bytes
 

Contents

Class file image Download
<?php

use Symfony\Component\DependencyInjection\ContainerBuilder;

$container = new ContainerBuilder();
$container->
   
register('foo', 'FooClass\\Foo')->
   
addArgument('foo<>&bar')->
   
addTag('foo"bar\\bar', array('foo' => 'foo"bar???'))
;

return
$container;