DependencyInjection/BaseContainerAccessor.php
public function clear(string $entityNamespace)
    {
        $entityNamespace = $this->locateEntity($entityNamespace);
        $this
            ->getObjectManager($entityNamespace)
            ->clear($entityNamespace);
    }
public function clear(string $entityNamespace)
    {
        $entityNamespace = $this->locateEntity($entityNamespace);
        $this
            ->getObjectManager($entityNamespace)
            ->clear($entityNamespace);
    }
public function clear ( string $ entityNamespace ) { $ entityNamespace = $ this -> locateEntity ( $ entityNamespace ) ; $ this -> getObjectManager ( $ entityNamespace ) -> clear ( $ entityNamespace ) ; }
Clear the object manager tracking of an entity.

@param string $entityNamespace
Clear the object manager tracking of an entity .