minor change views; add opcache

This commit is contained in:
2024-08-08 15:50:44 +02:00
parent fa3b766634
commit db660b3a89
10 changed files with 167 additions and 72 deletions
+12
View File
@@ -35,4 +35,16 @@ enum ReportTodoEnum: int {
};
}
public function tryFromName(string $name): ?ReportTodoEnum
{
$name = strtoupper($name);
foreach (self::cases() as $v) {
if ($name === $v->name) {
return $v;
}
}
return null;
}
}