You are here

public function Definition::getFactory in Service Container 7.2

Same name and namespace in other branches
  1. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php \Symfony\Component\DependencyInjection\Definition::getFactory()

Gets the factory.

Return value

string|array The PHP function or an array containing a class/Reference and a method to call

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/Definition.php, line 83

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function getFactory() {
  return $this->factory;
}