autoloader

This commit is contained in:
Kilian Hofmann 2024-07-20 13:41:54 +02:00
parent b8edde019f
commit 0951285ff8
3 changed files with 10 additions and 2 deletions

View File

@ -4,7 +4,7 @@
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Khofmann\\Api\\": "api/" "Api\\": "Api/"
} }
} }
} }

View File

@ -7,5 +7,5 @@ $baseDir = dirname($vendorDir);
return array( return array(
'Pecee\\' => array($vendorDir . '/pecee/simple-router/src/Pecee'), 'Pecee\\' => array($vendorDir . '/pecee/simple-router/src/Pecee'),
'Khofmann\\Api\\' => array($baseDir . '/api'), 'Api\\' => array($baseDir . '/Api'),
); );

View File

@ -11,6 +11,10 @@ class ComposerStaticInitd067465d9a99de373ba3093d61eda1d8
array ( array (
'Pecee\\' => 6, 'Pecee\\' => 6,
), ),
'A' =>
array (
'Api\\' => 4,
),
); );
public static $prefixDirsPsr4 = array ( public static $prefixDirsPsr4 = array (
@ -18,6 +22,10 @@ class ComposerStaticInitd067465d9a99de373ba3093d61eda1d8
array ( array (
0 => __DIR__ . '/..' . '/pecee/simple-router/src/Pecee', 0 => __DIR__ . '/..' . '/pecee/simple-router/src/Pecee',
), ),
'Api\\' =>
array (
0 => __DIR__ . '/../..' . '/Api',
),
); );
public static $classMap = array ( public static $classMap = array (