This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Components/DependencyInjection/Fixtures/includes/classes.php
Fabien Potencier 8d067bac51 [DepedencyInjection] amended previous commit
* fixed coding standards
 * made class optional as it is not defined when using a factory service
 * renamed factory attributes in XML files, updated XSD
 * removed the factory-class as it does nothing more than the regular class attribute
 * moved usage of Reflection as 'class' is not defined when a factory-service is used
 * added more tests
 * fixed PHP dumper
2010-07-05 11:08:56 +02:00

33 lines
436 B
PHP

<?php
function sc_configure($instance)
{
$instance->configure();
}
class BarClass
{
}
class BazClass
{
public function configure($instance)
{
$instance->configure();
}
static public function getInstance()
{
return new self();
}
static public function configureStatic($instance)
{
$instance->configure();
}
static public function configureStatic1()
{
}
}