public function Serializer::__construct in FillPDF 5.0.x
Same name and namespace in other branches
- 8.4 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\fillpdfCode
public function __construct(SymfonySerializer $serializer, EntityTypeManagerInterface $entity_type_manager) {
$this->serializer = $serializer;
$this->entityTypeManager = $entity_type_manager;
}