Browse Source

apply file prefix for auto namespace only

PHP-GTK3
yggverse 5 months ago
parent
commit
5ed90f735a
  1. 4
      src/Model/Pool.php

4
src/Model/Pool.php

@ -13,8 +13,8 @@ class Pool implements \Yggverse\Yoda\Interface\Model\Pool @@ -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…
Cancel
Save