Added should scaned namespaces.

This commit is contained in:
李铭昕 2020-04-18 14:18:32 +08:00
parent 3f334d84d1
commit 10d67f110c
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,11 @@ class ConfigProvider
'dependencies' => [
],
'annotations' => [
'scan' => [
'should_cached_namespaces' => [
'Hyperf',
],
],
],
'publish' => [
],

View File

@ -13,7 +13,6 @@ namespace Hyperf\Autoload;
use Doctrine\Common\Annotations\AnnotationReader;
use Hyperf\Di\Annotation\AnnotationInterface;
use Hyperf\Di\Annotation\AspectCollector;
use Hyperf\Di\BetterReflectionManager;
use Hyperf\Di\MetadataCollector;
use Hyperf\Utils\Str;