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
public function __construct( public function __construct(
?string $namespace = null ?string $namespace = null
) { ) {
$this->_namespace = __FILE__ . ( $this->_namespace = $namespace ? $namespace : uniqid(
$namespace ? $namespace : uniqid() __FILE__
); );
} }

Loading…
Cancel
Save