Closed
Description
Assume this config:
<service class="SomeClass">
<factory method="create"/>
</service>
I would expect this to call SomeClass::create()
. Instead it dies with this error:
Cannot dump definition because of invalid class name ('')
Any reason to not use the current class as the default class for a factory declaration.