Doctrine\ORM\UnitOfWork::size PHP Метод

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

Calculates the size of the UnitOfWork. The size of the UnitOfWork is the number of entities in the identity map.
public size ( ) : integer
Результат integer
    public function size()
    {
        $count = 0;
        foreach ($this->identityMap as $entitySet) {
            $count += count($entitySet);
        }
        return $count;
    }