Nextras\Orm\Collection\ICollection::countStored PHP Méthode

countStored() public méthode

Counts collection entities without fetching them from storage.
public countStored ( ) : integer
Résultat integer
    public function countStored();

Usage Example

Exemple #1
0
 public function count() : int
 {
     return $this->collection->countStored() ?: parent::count();
 }