Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Definition.php

function Definition::getFactory

Gets the factory.

Return value

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

File

vendor/symfony/dependency-injection/Definition.php, line 121

Class

Definition
Definition represents a service definition.

Namespace

Symfony\Component\DependencyInjection

Code

public function getFactory() : string|array|null {
    return $this->factory;
}
RSS feed
Powered by Drupal