Collection.php 308 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <?php namespace Razorpay\Api; use Countable; class Collection extends Entity implements Countable { public function count():int { $count = 0; if (isset($this->attributes['count'])) { return $this->attributes['count']; } return $count; } }