예제 #1
0
 /**
  * Count elements of an object
  * @link http://php.net/manual/en/countable.count.php
  * @return int The custom count as an integer.
  * </p>
  * <p>
  * The return value is cast to an integer.
  * @since 5.1.0
  */
 public function count()
 {
     return $this->cashStore->count();
 }
예제 #2
0
 /**
  * {@inheritdoc}
  *
  * {@inheritdoc}
  */
 public function count()
 {
     $this->preCount();
     $result = $this->dataStore->count();
     return $this->postCount($result);
 }