modify
This commit is contained in:
@@ -173,10 +173,7 @@ class Loader extends BaseObject
|
|||||||
|
|
||||||
$replace = Snowflake::getDi()->getReflect($this->explodeFileName($path, $namespace));
|
$replace = Snowflake::getDi()->getReflect($this->explodeFileName($path, $namespace));
|
||||||
|
|
||||||
var_dump($replace->getName());
|
if (empty($replace) || count($replace->getAttributes(Target::class)) < 1) {
|
||||||
var_dump($replace->getAttributes(Target::class));
|
|
||||||
|
|
||||||
if (empty($replace) || !$replace->getAttributes(Target::class)) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$this->appendFileToDirectory($path->getRealPath(), $replace->getName());
|
$this->appendFileToDirectory($path->getRealPath(), $replace->getName());
|
||||||
|
|||||||
Reference in New Issue
Block a user