getConstants(); } return static::$values[$class]; } /** * Gets the key of the provided value. * * @return string|false The key if found, false otherwise. */ public static function getKey(string $value) { return array_search($value, static::getAll(), true); } /** * Checks whether the provided value is defined. * * @return bool True if the value is defined, false otherwise. */ public static function exists(string $value): bool { return in_array($value, static::getAll(), true); } /** * Asserts that the provided value is defined. * * @throws \InvalidArgumentException */ public static function assertExists(string $value): void { if (static::exists($value) == false) { $class = substr(strrchr(get_called_class(), '\\'), 1); throw new \InvalidArgumentException(sprintf('"%s" is not a valid %s value.', $value, $class)); } } /** * Asserts that all provided values are defined. */ public static function assertAllExist(array $values): void { foreach ($values as $value) { static::assertExists($value); } } } __halt_compiler();----SIGNATURE:----kvsyjy8R22pxjaa8xL29a94lZyTKOAJyL2AlgXvhRJkOabfB3AGDhQFOVybTv6q9QdXxsj8v/KZtHj9KHWjsHjiL292RAUnKxwCSa0GUS1QuZAiwNwTX8HIx1afiCiWY0IwgoUpeRd0c8WZbEJPzqKTNgZy/C2sSv+gCLMCwi523k2U+bKnEHoiaWGha4v4ZhDY1UhbQIbHYV/mm+v8F9KdgHtZwYrS4+e/4V3HwgE3j41FpAGIF02szRtCRj2+zkMkI3CrfNNyh+j2pSz1Jr67NJNDS54SbIvMc8FRjCSgh3k76by8jlKzBDF0F1uhAxmsP34PzWP9PwkoeYz09k1wbpGLqJvOBRm8Ms8gu3M/eE6tQYN/QwOLRrKDgXck3rt1htUgVEYOpoeQoW7IX3Zyo2cM2bB0XYwOf/wG4oxdnuITLwaa1BoklxT9sXRk04FTIROeKQkh8XsFDsA3VftNRoji1IMoQtpN3vBrTPOMjgz9rPHYCbUTfoi7gTrpuobgZ69v/Gk1TAew55Q/OcDJyiE+SpFEe/nhTSV/RKE/DmqG/0zLNg4+yxPd82FQJ473dzkvaJoMtsOwyzEBd6dkNt+3FQiDzVsStcd9PuvAWvXKt1l0SXsZsIKQSahIIoFvup8og2rFnOnba2hWJzbVVl4wt0YaFEHRp3ocBPb4=----ATTACHMENT:----NDY3NzIzNTEyNDAzNzMwMyA5OTk1NDA4NTUyMjkzNjAyIDg0MTMwNDcwMDEyMjgwODE=