10 calls to Drupal::hasContainer()

AccountProxyTest::testId in core/tests/Drupal/Tests/Core/Session/AccountProxyTest.php
@covers ::id @covers ::setInitialAccountId
DependencySerializationTrait::__wakeup in core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php
Drupal::hasRequest in core/lib/Drupal.php
Indicates if there is a currently active request object.
Drupal::hasService in core/lib/Drupal.php
Indicates if a service is defined in the container.
drupal_get_profile in core/includes/bootstrap.inc
Gets the name of the currently active installation profile.
FileSystem::getTempDirectory in core/lib/Drupal/Core/File/FileSystem.php
Gets the path of the configured temporary directory.
LocalTaskManagerTest::setupNullCacheabilityMetadataValidation in core/tests/Drupal/Tests/Core/Menu/LocalTaskManagerTest.php
SqlTest::setupEntityTypeManager in core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php
Sets up the entity type manager in the container.
SqlTest::setupViewsData in core/modules/views/tests/src/Unit/Plugin/query/SqlTest.php
Sets up the views data in the container.
ViewExecutable::__wakeup in core/modules/views/src/ViewExecutable.php
Magic method implementation to unserialize the view executable.

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