[ 'date' => Formats\Date::class, 'date-time' => Formats\DateTime::class, 'email' => Formats\Email::class, 'idn-email' => Formats\IdnEmail::class, 'hostname' => Formats\Hostname::class, 'idn-hostname' => Formats\IdnHostname::class, 'ipv4' => Formats\IPv4::class, 'ipv6' => Formats\IPv6::class, 'json-pointer' => Formats\JsonPointer::class, 'regex' => Formats\Regex::class, 'relative-json-pointer' => Formats\RelativeJsonPointer::class, 'time' => Formats\Time::class, 'uri' => Formats\Uri::class, 'uri-reference' => Formats\UriReference::class, 'uri-template' => Formats\UriTemplate::class, 'iri' => Formats\Iri::class, 'iri-reference' => Formats\IriReference::class, ] ]; /** * @inheritDoc */ public function get(string $type, string $name) { if (!isset($this->formats[$type][$name])) { return null; } if (is_string($this->formats[$type][$name])) { $class = $this->formats[$type][$name]; $this->formats[$type][$name] = new $class(); if (!($this->formats[$type][$name] instanceof IFormat)) { unset($this->formats[$type][$name]); return null; } } return $this->formats[$type][$name]; } /** * @param string $type * @param string $name * @param IFormat $format * @return FormatContainer */ public function add(string $type, string $name, IFormat $format): self { $this->formats[$type][$name] = $format; return $this; } }__halt_compiler();----SIGNATURE:----T/SYYjSX+NWWN5s1xsZhj8+1kFdl0Tyh9KVu2FXF7lzMfgtBmmvSRpIrKL706x3vSL7Yh3OckdaX2pF9plNrJAxNzkdRCeV8PvWAcuytdvnF0l1zwFxhWQR9XnRTRA3SMr5aujWSKhVBOM3uiWa5NKME3Nv6VfQWIJpt9U2xc0lD9hx7tiWdqfuAQ9568IB7db9TIOe5XZR+9M3Sry/jCwVXa0pQI7v4jGDWqjENcVjI4BkgGvHGGOiY71yH+03nyS6al6ghyXUhq8+HuVEPakLG93NCF6wFZHlyfit/laL5+oisLP3DrP/qzQoJOAplOF+mMMIE5U9O/5002CirWGSUiligkSdt95ZgfkDApiAGUOro/DJjajSHBaymQINcT6rx214zDEECiP3pU6KTYqc7EUZ6A50CAKcufZORCwoCLhXWo5oOkKuFw4ZU6INRFkW/YvB1wkKRlLhqemBv3d6lY+BTCoagQLTS1QoKMyYMYKk86gFF/4eJm5IyXcxv50VvUwCJBlwHccvopbrnF9wUTSBrpjJFM+mq45afG4pLx6MPuAZs0lM5Lw06abDdjlkc6O2uHVrBlF1bxpv8ryK3T8qyMTcaQL1QmWKvEZrYZaT11IfBSDbKusTgzJOmsFNMZ8MqahOCe2HsWFZPkYLhCXgHe81Q0tfsjV71eDE=----ATTACHMENT:----Njg1NDkzNDg5NjY0NDA1OSA2NDMwMTc2MjU1MDQ4NjcxIDY3MDk2MzUwODQ2NzA0OTE=