protected function isInvalidChar(string $value) : bool { return !preg_match(self::INVALID_CHARS_REGEX, $value); }