PaginatorExtension
+
+
+
+
+ ThumbnailExtension
+ column
@@ -536,7 +549,16 @@
MarkdownFileDecoder
ThumbnailQueueFileDecoder
+ $data
+ array
+ YamlFileDecoder
array
__construct
+ EventSubscriber
diff --git a/src/Bridge/Twig/Extension/ThumbnailExtension.php b/src/Bridge/Twig/Extension/ThumbnailExtension.php
new file mode 100644
index 0000000..39e05b0
--- /dev/null
+++ b/src/Bridge/Twig/Extension/ThumbnailExtension.php
@@ -0,0 +1,47 @@
+thumbnailQueue->add([
+ 'source' => $path,
+ 'destination' => $relative,
+ ]);
+
+ return $this->packages->getUrl(ltrim($relative, '/'));
+ }, ['needs_context' => true]),
+ ];
+ }
+}
diff --git a/src/Decoder/CachingFileDecoder.php b/src/Decoder/CachingFileDecoder.php
index b7d2b28..b234f62 100644
--- a/src/Decoder/CachingFileDecoder.php
+++ b/src/Decoder/CachingFileDecoder.php
@@ -37,7 +37,7 @@ public function decode(\SplFileInfo $file): array
$item = $this->cachePoolItem->getItem($key);
if ($item->isHit()) {
- /** @var array $value */
+ /** @var arrayThis is a database lookup example: Hello World!
-This is an asset lookup: /sub/dir/another/assets/images/sigwin.6f9a3d5b.svg
-This is an asset lookup: /sub/dir/another/content/articles/images/image.webp
+