protected function isConstant($str) { return preg_match('/^' . static::CONSTANT_VALUE . '$/', trim($str)); }