Наследование: implements ArrayAcces\ArrayAccess, implements Countabl\Countable, implements IteratorAggregat\IteratorAggregate, implements JsonSerializabl\JsonSerializable
Пример #1
0
 public function testGettingSumFromEmptyCollection()
 {
     $c = new Collection();
     $this->assertEquals(0, $c->sum('foo'));
 }