33 lines
430 B
PHP
Executable File
33 lines
430 B
PHP
Executable File
<?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 [];
|
|
}
|
|
} |