This commit is contained in:
2026-02-17 14:56:23 +01:00
commit 68f7a95fdf
695 changed files with 154611 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace DynCom\mysyde\common\classes;
use DynCom\mysyde\common\interfaces\GenericObjectStorageInterface;
/**
* Created by PhpStorm.
* User: Bauer
* Date: 6/2/2015
* Time: 10:21 AM
*/
class GenericObjectStorage extends \SplObjectStorage implements GenericObjectStorageInterface {
public function clear() {
$tempStorage = clone $this;
$this->addAll($tempStorage);
$this->removeAll($tempStorage);
$tempStorage = null;
}
}