You are here

public function EntityBuffer::__construct in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 src/GraphQL/Buffers/EntityBuffer.php \Drupal\graphql\GraphQL\Buffers\EntityBuffer::__construct()

EntityBuffer constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.

File

src/GraphQL/Buffers/EntityBuffer.php, line 22

Class

EntityBuffer

Namespace

Drupal\graphql\GraphQL\Buffers

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager) {
  $this->entityTypeManager = $entityTypeManager;
}