public function enterFunc(Func $func) { $this->removed = new \SplObjectStorage(); $this->recursionProtection = new \SplObjectStorage(); }