/
var
/
www
/
barefootlaw.org
/
will-generator
/
vendor
/
endroid
/
qr-code
/
src
/
Encoding
/
Upload File
HOME
<?php declare(strict_types=1); namespace Endroid\QrCode\Encoding; final class Encoding implements EncodingInterface { public function __construct( private string $value ) { if (!in_array($value, mb_list_encodings())) { throw new \Exception(sprintf('Invalid encoding "%s"', $value)); } } public function __toString(): string { return $this->value; } }