You are here

public function EntityManagerWrapper::setContainer in Devel 8

Same name and namespace in other branches
  1. 8.3 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::setContainer()
  2. 8.2 webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::setContainer()
  3. 4.x webprofiler/src/Entity/EntityManagerWrapper.php \Drupal\webprofiler\Entity\EntityManagerWrapper::setContainer()

File

webprofiler/src/Entity/EntityManagerWrapper.php, line 239

Class

EntityManagerWrapper
Class EntityManagerWrapper

Namespace

Drupal\webprofiler\Entity

Code

public function setContainer(ContainerInterface $container = NULL) {
  $this->entityManager
    ->setContainer($container);
}