concrete/src/Package/Event/PackageEntities.php
public function addEntityManager(EntityManagerInterface $em)
    {
        if (!in_array($em, $this->entityManagers, true)) {
            $this->entityManagers[] = $em;
        }

        return $this;
    }
public function addEntityManager(EntityManagerInterface $em)
    {
        if (!in_array($em, $this->entityManagers, true)) {
            $this->entityManagers[] = $em;
        }

        return $this;
    }
public function addEntityManager ( EntityManagerInterface $ em ) { if ( ! in_array ( $ em , $ this -> entityManagers , true ) ) { $ this -> entityManagers [ ] = $ em ; } return $ this ; }
Add an EntityManagerInterface instance to the list.

@param EntityManagerInterface $em

@return $this
Add an EntityManagerInterface instance to the list .