code: public function unregisterNamespace($ns)
      {
          list($ns) = $this->fireEvent('namespace.unregister', [ $ns ]);
  
          unset($this->namespaces[$ns]);
  
          return $this;
      }
docs: Unregister namespace.
  @param  string $ns namespace name.
  @return self