Skip to content

Commit 8c0805c

Browse files
authored
Merge pull request #22 from nly/master
*修复controller自动重置public属性
2 parents 60bda48 + 78c53a4 commit 8c0805c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Base/Pool.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
use Exception;
1212
use PG\AOP\Wrapper;
13+
use PG\MSF\Marco;
1314

1415
/**
1516
* Class Pool
@@ -83,6 +84,7 @@ public function get($class, ...$args)
8384
$obj->__useCount = 0;
8485
$obj->__genTime = time();
8586
$obj->__isContruct = false;
87+
$obj->__DSLevel = Marco::DS_PUBLIC;
8688
unset($reflector);
8789
return $obj;
8890
}

0 commit comments

Comments
 (0)