8d067bac51
* 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
33 lines
436 B
PHP
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()
|
|
{
|
|
}
|
|
}
|