countStored() public method

Counts collection entities without fetching them from storage.
public countStored ( ) : integer
return integer
コード例 #1
0
ファイル: Control.php プロジェクト: ytnuk/orm
 public function count() : int
 {
     return $this->collection->countStored() ?: parent::count();
 }