Browse Source

rename method

PHP-GTK3
yggverse 4 months ago
parent
commit
126890710b
  1. 2
      src/Abstract/Model/Connection.php
  2. 2
      src/Interface/Model/Pool.php
  3. 2
      src/Model/Pool.php

2
src/Abstract/Model/Connection.php

@ -221,6 +221,6 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection @@ -221,6 +221,6 @@ abstract class Connection implements \Yggverse\Yoda\Interface\Model\Connection
public function close(): void
{
$this->_pool->reset(); // @TODO
$this->_pool->clean();
}
}

2
src/Interface/Model/Pool.php

@ -46,5 +46,5 @@ interface Pool @@ -46,5 +46,5 @@ interface Pool
?string $value = null
): void;
public function reset(): void;
public function clean(): void;
}

2
src/Model/Pool.php

@ -127,7 +127,7 @@ class Pool implements \Yggverse\Yoda\Interface\Model\Pool @@ -127,7 +127,7 @@ class Pool implements \Yggverse\Yoda\Interface\Model\Pool
);
}
public function reset(): void
public function clean(): void
{
foreach ($this->_data as $key => $shmop)
{

Loading…
Cancel
Save