function BookManager::__construct

Same name in this branch
  1. 10 core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()
Same name and namespace in other branches
  1. 9 core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()
  2. 8.9.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()
  3. 11.x core/modules/book/src/ProxyClass/BookManager.php \Drupal\book\ProxyClass\BookManager::__construct()
  4. 11.x core/modules/book/src/BookManager.php \Drupal\book\BookManager::__construct()

Constructs a ProxyClass Drupal proxy object.

Parameters

\Symfony\Component\DependencyInjection\ContainerInterface $container: The container.

string $drupal_proxy_original_service_id: The service ID of the original service.

File

core/modules/book/src/ProxyClass/BookManager.php, line 49

Class

BookManager
Provides a proxy class for <a href="/api/drupal/core%21modules%21book%21src%21BookManager.php/class/BookManager/10" title="Defines a book manager." class="local">\Drupal\book\BookManager</a>.

Namespace

Drupal\book\ProxyClass

Code

public function __construct(\Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) {
    $this->container = $container;
    $this->drupalProxyOriginalServiceId = $drupal_proxy_original_service_id;
}

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