src/NcrPreloader.php
public function clear(?string $namespace = self::DEFAULT_NAMESPACE): void
    {
        if (null === $namespace) {
            $this->nodeRefs = [];
            return;
        }

        unset($this->nodeRefs[$namespace]);
    }
public function clear(?string $namespace = self::DEFAULT_NAMESPACE): void
    {
        if (null === $namespace) {
            $this->nodeRefs = [];
            return;
        }

        unset($this->nodeRefs[$namespace]);
    }
public function clear ( ? string $ namespace = self :: DEFAULT_NAMESPACE ) : void { if ( null === $ namespace ) { $ this -> nodeRefs = [ ] ; return ; } unset ( $ this -> nodeRefs [ $ namespace ] ) ; }
Clears the preloaded node refs.

@param string $namespace
Clears the preloaded node refs .