Make LabelGenerator services final.

This commit is contained in:
Jan Böhmer 2020-05-09 18:17:23 +02:00
parent 28187f1ef2
commit e925bec5b6
18 changed files with 48 additions and 48 deletions

View file

@ -32,13 +32,13 @@ use Twig\Error\SyntaxError;
final class LabelHTMLGenerator
{
protected $twig;
protected $elementTypeNameGenerator;
protected $replacer;
protected $barcodeGenerator;
protected $sandboxedTwigProvider;
protected $partdb_title;
protected $security;
private $twig;
private $elementTypeNameGenerator;
private $replacer;
private $barcodeGenerator;
private $sandboxedTwigProvider;
private $partdb_title;
private $security;
public function __construct(ElementTypeNameGenerator $elementTypeNameGenerator, LabelTextReplacer $replacer, Environment $twig,
BarcodeGenerator $barcodeGenerator, SandboxedTwigProvider $sandboxedTwigProvider, Security $security, string $partdb_title)