mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 07:25:32 +01:00
Make LabelGenerator services final.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user