You are here

public static function FooClass::getInstance in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/dependency-injection/Tests/Fixtures/includes/foo.php \Bar\FooClass::getInstance()
5 calls to FooClass::getInstance()
ProjectServiceContainer::getFooService in vendor/symfony/dependency-injection/Tests/Fixtures/php/services9_compiled.php
Gets the 'foo' service.
ProjectServiceContainer::getFooService in vendor/symfony/dependency-injection/Tests/Fixtures/php/services9.php
Gets the 'foo' service.
ProjectServiceContainer::getServiceFromStaticMethodService in vendor/symfony/dependency-injection/Tests/Fixtures/php/services9_compiled.php
Gets the 'service_from_static_method' service.
ProjectServiceContainer::getServiceFromStaticMethodService in vendor/symfony/dependency-injection/Tests/Fixtures/php/services9.php
Gets the 'service_from_static_method' service.
ProjectServiceContainer::getServiceWithMethodCallAndFactoryService in vendor/symfony/dependency-injection/Tests/Fixtures/php/services19.php
Gets the 'service_with_method_call_and_factory' service.

File

vendor/symfony/dependency-injection/Tests/Fixtures/includes/foo.php, line 16

Class

FooClass

Namespace

Bar

Code

public static function getInstance($arguments = array()) {
  $obj = new self($arguments);
  $obj->called = true;
  return $obj;
}