mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
rename method
This commit is contained in:
parent
b18b9bb99e
commit
126890710b
3 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -46,5 +46,5 @@ interface Pool
|
||||||
?string $value = null
|
?string $value = null
|
||||||
): void;
|
): void;
|
||||||
|
|
||||||
public function reset(): void;
|
public function clean(): void;
|
||||||
}
|
}
|
||||||
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue