Symfony\Component\DependencyInjection\Definition::setFactoryMethod
Sets the factory method able to create an instance of this class.
Signature
public function setFactoryMethod(string
$factoryMethod )
Parameters
$factoryMethod
— string- The factory method name
Returns
- Definition
- The current instance