Search for __get

  1. Search 7.x for __get
  2. Search 9.5.x for __get
  3. Search 8.9.x for __get
  4. Search 11.x for __get
  5. Other projects
Title Object type File name Summary
ContainerBuilderTest::testGet function core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php @covers ::get
ContainerDerivativeDiscoveryDecorator::getDeriver function core/lib/Drupal/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecorator.php Gets a deriver for a base plugin.
ContainerDerivativeDiscoveryDecoratorTest::testGetDefinitions function core/tests/Drupal/Tests/Core/Plugin/Discovery/ContainerDerivativeDiscoveryDecoratorTest.php @covers ::getDefinitions
ContainerInterface::getServiceIdMappings function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Collect a mapping between service to ids.
ContainerInterface::getServiceIds function core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php Gets all defined service IDs.
ContainerTest::getCollection function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a machine-optimized collection.
ContainerTest::getIterator function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service iterator.
ContainerTest::getMockContainerDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Gets a mock container definition.
ContainerTest::getParameterCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a parameter definition.
ContainerTest::getPrivateServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a private service definition.
ContainerTest::getRaw function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a raw value definition.
ContainerTest::getServiceCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service definition.
ContainerTest::getServiceClosureCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Helper function to return a service closure definition.
ContainerTest::testGet function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() works properly.
ContainerTest::testGetForAliasedService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for aliased services works properly.
ContainerTest::testGetForCircularServices function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for circular dependencies works properly.
@covers ::get
@covers ::createService
ContainerTest::testGetForClassFromParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() works properly for class from parameters.
ContainerTest::testGetForConfigurator function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for configurable services works.
ContainerTest::testGetForConfiguratorWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for configurable services throws an Exception.
ContainerTest::testGetForFactoryClass function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for factories via class works (Symfony 2.7.0).
ContainerTest::testGetForFactoryService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests Container::get() for factories via services (Symfony 2.7.0).
ContainerTest::testGetForInstantiationWithVariousArgumentLengths function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for various arguments lengths works.
ContainerTest::testGetForNonExistentNULLService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for NULL service works properly.
@covers ::get
@covers ::createService
ContainerTest::testGetForNonExistentParameterDependency function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent parameters works properly.
ContainerTest::testGetForNonExistentParameterDependencyWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent parameters works properly.
ContainerTest::testGetForNonExistentService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent services works properly.
ContainerTest::testGetForNonExistentServiceDependency function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent dependencies works properly.
ContainerTest::testGetForNonExistentServiceDependencyWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent dependencies works properly.
ContainerTest::testGetForNonExistentServiceMultipleTimes function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests multiple Container::get() calls for non-existing dependencies work.
ContainerTest::testGetForNonExistentServiceWhenUsingNull function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-existent services works properly.
ContainerTest::testGetForNonExistentServiceWithExceptionOnSecondCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests multiple Container::get() calls with exception on the second time.
ContainerTest::testGetForNonSharedService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for non-shared services works properly.
ContainerTest::testGetForParameterDependencyWithExceptionOnSecondCall function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests Container::get() with an exception due to missing parameter on the second call.
ContainerTest::testGetForSerializedServiceDefinition function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for a serialized definition works properly.
ContainerTest::testGetForSyntheticService function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for synthetic services works - if defined.
ContainerTest::testGetForSyntheticServiceWithException function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for synthetic services throws an Exception if not defined.
ContainerTest::testGetForWrongFactory function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for wrong factories works correctly.
ContainerTest::testGetParameter function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::getParameter() works properly.
ContainerTest::testGetParameterIfNotFound function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::getParameter() works for non-existing parameters.
ContainerTest::testGetParameterIfNotFoundBecauseNull function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::getParameter() works properly for NULL parameters.
ContainerTest::testGetServiceIdMappings function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php @covers \Drupal\Component\DependencyInjection\ServiceIdHashTrait::getServiceIdMappings
@covers \Drupal\Component\DependencyInjection\ServiceIdHashTrait::generateServiceIdHash
ContainerTest::testGetServiceIds function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::getServiceIds() works properly.
ContainerTest::testGetWithFileInclude function core/tests/Drupal/Tests/Component/DependencyInjection/ContainerTest.php Tests that Container::get() for services with file includes works.
ContentEntity::getIds function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php Defines the source fields uniquely identifying a source row.
ContentEntityBase::get function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getEntityKey function core/lib/Drupal/Core/Entity/ContentEntityBase.php Gets the value of the given entity key, if defined.
ContentEntityBase::getFieldDefinition function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getFieldDefinitions function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getFields function core/lib/Drupal/Core/Entity/ContentEntityBase.php
ContentEntityBase::getFieldsToSkipFromTranslationChangesCheck function core/lib/Drupal/Core/Entity/ContentEntityBase.php Returns an array of field names to skip in ::hasTranslationChanges.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.