public function destroy()
    {
        $this->identifierMap = [];
        $this->objectMap = new \SplObjectStorage();
        $this->reconstitutedEntities = new \SplObjectStorage();
        $this->reconstitutedEntitiesData = [];
    }
public function destroy()
    {
        $this->identifierMap = [];
        $this->objectMap = new \SplObjectStorage();
        $this->reconstitutedEntities = new \SplObjectStorage();
        $this->reconstitutedEntitiesData = [];
    }
public function destroy ( ) { $ this -> identifierMap = [ ] ; $ this -> objectMap = new \ SplObjectStorage ( ) ; $ this -> reconstitutedEntities = new \ SplObjectStorage ( ) ; $ this -> reconstitutedEntitiesData = [ ] ; }
Destroy the state of the persistence session and reset
all internal data.

@return void
Destroy the state of the persistence session and reset all internal data .