public function Definition::getFactoryClass in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php \Symfony\Component\DependencyInjection\Definition::getFactoryClass()
Gets the factory class.
@api
Return value
string|null The factory class name
Deprecated
since version 2.6, to be removed in 3.0.
File
- modules/
providers/ service_container_symfony/ lib/ Symfony/ Component/ DependencyInjection/ Definition.php, line 116
Class
- Definition
- Definition represents a service definition.
Namespace
Symfony\Component\DependencyInjectionCode
public function getFactoryClass($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->factoryClass;
}