Provide PSR-4 autoload information
authorBenjamin Franzke <bfr@qbus.de>
Mon, 4 Jan 2016 19:00:44 +0000 (20:00 +0100)
committerTim Lochm├╝ller <tim@fruit-lab.de>
Mon, 4 Jan 2016 20:13:53 +0000 (21:13 +0100)
This is to prevent TYPO3 from having to scan the entire
extension directory. See:
https://docs.typo3.org/typo3cms/extensions/core/latest/Changelog/7.5/Feature-68700-AutoloadDefinitionCanBeProvidedInExt_emconfphp.html

ext_emconf.php

index a8f9f26..dc2592e 100644 (file)
@@ -27,4 +27,9 @@ $EM_CONF[$_EXTKEY] = [
             'php' => '5.5.0-0.0.0',
         ],
     ],
+    'autoload' => [
+        'psr-4' => [
+            'SFC\\NcStaticfilecache\\' => 'Classes'
+        ],
+    ],
 ];