Doctrine\ODM\MongoDB\UnitOfWork::hasPendingInsertions PHP Méthode

hasPendingInsertions() public méthode

Checks whether the UnitOfWork has any pending insertions.
public hasPendingInsertions ( ) : boolean
Résultat boolean TRUE if this UnitOfWork has pending insertions, FALSE otherwise.
    public function hasPendingInsertions()
    {
        return !empty($this->documentInsertions);
    }
UnitOfWork