first commit
This commit is contained in:
33
Swoft_BackEndApi/app/AutoLoader.php
Executable file
33
Swoft_BackEndApi/app/AutoLoader.php
Executable file
@@ -0,0 +1,33 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
|
||||
namespace App;
|
||||
|
||||
|
||||
use Swoft\SwoftComponent;
|
||||
|
||||
/**
|
||||
* Class AutoLoader
|
||||
*
|
||||
* @since 2.0
|
||||
*/
|
||||
class AutoLoader extends SwoftComponent
|
||||
{
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getPrefixDirs(): array
|
||||
{
|
||||
return [
|
||||
__NAMESPACE__ => __DIR__,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function metadata(): array
|
||||
{
|
||||
return [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user