. */ declare(strict_types=1); namespace App\Services\LabelSystem\Barcodes; use App\Entity\LabelSystem\LabelSupportedElement; /** * This class represents the result of a barcode scan, with the target type and the ID of the element */ class BarcodeScanResult { public function __construct( public readonly LabelSupportedElement $target_type, public readonly int $target_id, public readonly BarcodeSourceType $source_type, ) { } }