Nextras\Orm\Collection\ICollection::countStored PHP Метод

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

Counts collection entities without fetching them from storage.
public countStored ( ) : integer
Результат integer
    public function countStored();

Usage Example

Пример #1
0
 public function count() : int
 {
     return $this->collection->countStored() ?: parent::count();
 }