Doctrine\ODM\MongoDB\UnitOfWork::hasPendingInsertions PHP Метод

hasPendingInsertions() публичный Метод

Checks whether the UnitOfWork has any pending insertions.
public hasPendingInsertions ( ) : boolean
Результат boolean TRUE if this UnitOfWork has pending insertions, FALSE otherwise.
    public function hasPendingInsertions()
    {
        return !empty($this->documentInsertions);
    }
UnitOfWork