Page MenuHomeDevCentral

D2546.id6446.diff
No OneTemporary

D2546.id6446.diff

diff --git a/omnitools/src/Registration/Autoloader.php b/omnitools/src/Registration/Autoloader.php
--- a/omnitools/src/Registration/Autoloader.php
+++ b/omnitools/src/Registration/Autoloader.php
@@ -19,6 +19,12 @@
///
public static function selfRegister () : void {
+ // The PSR-4 autoloader needs those classes as dependencies:
+ require_once __DIR__ . "/PSR4/Autoloader.php";
+ require_once __DIR__ . "/PSR4/Solver.php";
+ require_once __DIR__ . "/../IO/File.php";
+ require_once __DIR__ . "/../Reflection/CodeFile.php";
+
self::registerPSR4("Keruald\\OmniTools\\", self::getLibraryPath());
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 13:45 (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2264544
Default Alt Text
D2546.id6446.diff (659 B)

Event Timeline