chore: complete update

This commit is contained in:
2025-07-17 16:24:20 +02:00
parent 899227b0a4
commit 64a7051137
1300 changed files with 85570 additions and 2756 deletions

View File

@@ -0,0 +1,30 @@
<?php
namespace Archive\Optimized;
/**
* Template-Analyse-Ergebnisse
*/
final class TemplateAnalysis
{
public array $staticBlocks = [];
public array $dynamicBlocks = [];
public array $dependencies = [];
public array $optimizations = [];
public CacheStrategy $cacheStrategy = CacheStrategy::DYNAMIC;
public function getComplexity(): int
{
return count($this->staticBlocks) + count($this->dynamicBlocks) * 2;
}
public function isCacheable(): bool
{
return $this->cacheStrategy !== CacheStrategy::DYNAMIC;
}
public function hasFragments(): bool
{
return count($this->staticBlocks) > 0;
}
}