public function Definition::getFactoryService in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/dependency-injection/Definition.php \Symfony\Component\DependencyInjection\Definition::getFactoryService()
Gets the factory service id.
Return value
string|null The factory service id
Deprecated
since version 2.6, to be removed in 3.0.
File
- vendor/
symfony/ dependency-injection/ Definition.php, line 213
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function getFactoryService($triggerDeprecationError = true) {
if ($triggerDeprecationError) {
@trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.6 and will be removed in 3.0.', E_USER_DEPRECATED);
}
return $this->factoryService;
}