rename method

This commit is contained in:
yggverse 2024-07-17 14:17:17 +03:00
parent b18b9bb99e
commit 126890710b
3 changed files with 3 additions and 3 deletions

View file

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

View file

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

View file

@ -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) foreach ($this->_data as $key => $shmop)
{ {