Symfony\Component\DependencyInjection\Definition::setFactoryService
Sets the name of the service that acts as a factory using the factory method.
Signature
public function setFactoryService(string
$factoryService )
Parameters
$factoryService
— string- The factory service id
Returns
- Definition
- The current instance