mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
apply file prefix for auto namespace only
This commit is contained in:
parent
6d2096be7e
commit
5ed90f735a
1 changed files with 2 additions and 2 deletions
|
|
@ -13,8 +13,8 @@ class Pool implements \Yggverse\Yoda\Interface\Model\Pool
|
|||
public function __construct(
|
||||
?string $namespace = null
|
||||
) {
|
||||
$this->_namespace = __FILE__ . (
|
||||
$namespace ? $namespace : uniqid()
|
||||
$this->_namespace = $namespace ? $namespace : uniqid(
|
||||
__FILE__
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue