You are here

interface ServiceContainerInterface in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/DIC/ServiceContainerInterface.php \Drupal\xautoload\DIC\ServiceContainerInterface

@property Main $main @property ClassFinderAdapter $adapter @property ClassMapGeneratorInterface $classMapGenerator @property ClassMapGenerator $classMapGeneratorRaw @property CacheManager $cacheManager @property ProxyClassFinder $proxyFinder @property ExtendedClassFinderInterface $classFinder @property ExtendedClassFinderInterface $finder Alias for ->classFinder @property DrupalSystemInterface $system @property DrupalExtensionAdapter $extensionRegistrationService

Hierarchy

Expanded class hierarchy of ServiceContainerInterface

All classes that implement ServiceContainerInterface

1 file declares its use of ServiceContainerInterface
Main.php in lib/Main.php

File

lib/DIC/ServiceContainerInterface.php, line 27

Namespace

Drupal\xautoload\DIC
View source
interface ServiceContainerInterface {

  /**
   * Retrieves a lazy-instantiated service.
   *
   * @param string $key
   *   A key to specify a service.
   * @return mixed
   *   The service for the given key. Usually an object.
   */
  function __get($key);

}

Members

Namesort descending Modifiers Type Description Overrides
ServiceContainerInterface::__get function Retrieves a lazy-instantiated service. 2