public function Braintree_Collection::count in Commerce Braintree 7
Return count of items in collection Implements countable
Return value
integer
4 calls to Braintree_Collection::count()
- Braintree_Collection::exists in braintree_php/
lib/ Braintree/ Collection.php - Determine if index exists
- Braintree_Collection::get in braintree_php/
lib/ Braintree/ Collection.php - Return value at index
- Braintree_Collection::remove in braintree_php/
lib/ Braintree/ Collection.php - Remove a value from the collection
- Braintree_Collection::set in braintree_php/
lib/ Braintree/ Collection.php - Set index's value
File
- braintree_php/
lib/ Braintree/ Collection.php, line 96
Class
- Braintree_Collection
- Generic Collection class
Code
public function count() {
return count($this->_collection);
}