You are here

public function Serializer::__construct in FillPDF 8.4

Same name and namespace in other branches
  1. 5.0.x src/Serializer.php \Drupal\fillpdf\Serializer::__construct()

Constructs a Serializer object.

Parameters

\Symfony\Component\Serializer\Serializer $serializer: The FillPdf Form to serialize.

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

File

src/Serializer.php, line 37

Class

Serializer
Class Serializer.

Namespace

Drupal\fillpdf

Code

public function __construct(SymfonySerializer $serializer, EntityTypeManagerInterface $entity_type_manager) {
  $this->serializer = $serializer;
  $this->entityTypeManager = $entity_type_manager;
}