This commit is contained in:
2021-02-23 19:15:39 +08:00
parent 5fd07c2327
commit 074762cdae
5 changed files with 36 additions and 3 deletions
+9
View File
@@ -46,6 +46,15 @@ abstract class AbstractCollection extends Component implements \IteratorAggregat
}
/**
* recover class by clone
*/
public function __clone()
{
$this->clean();
}
/**
* Collection constructor.
*