public static function getScheduledAClassContentInsertions(EntityManager $em, $with_revision = false, $exclude_base_element = false)
    {
        $entities = array();
        foreach ($em->getUnitOfWork()->getScheduledEntityInsertions() as $entity) {
            if (false !== $tmp = self::getScheduledEntity($entity, $with_revision, $exclude_base_element)) {
                $entities[] = $tmp;
            }
        }

        return $entities;
    }
public static function getScheduledAClassContentInsertions(EntityManager $em, $with_revision = false, $exclude_base_element = false)
    {
        $entities = array();
        foreach ($em->getUnitOfWork()->getScheduledEntityInsertions() as $entity) {
            if (false !== $tmp = self::getScheduledEntity($entity, $with_revision, $exclude_base_element)) {
                $entities[] = $tmp;
            }
        }

        return $entities;
    }
public static function getScheduledAClassContentInsertions ( EntityManager $ em , $ with_revision = false , $ exclude_base_element = false ) { $ entities = array ( ) ; foreach ( $ em -> getUnitOfWork ( ) -> getScheduledEntityInsertions ( ) as $ entity ) { if ( false !== $ tmp = self :: getScheduledEntity ( $ entity , $ with_revision , $ exclude_base_element ) ) { $ entities [ ] = $ tmp ; } } return $ entities ; }
Returns an array of AbstractClassContent scheduled for insertions.

@param \Doctrine\ORM\EntityManager $em
@param boolean                     $with_revision Includes AClassContent which has scheduled revision

@return array
Returns an array of AbstractClassContent scheduled for insertions .