Browse code

Iteration and count for Collection

Niklas Modess authored on 24/05/2014 14:08:59
Showing 2 changed files
... ...
@@ -3,21 +3,21 @@
3 3
         "This file locks the dependencies of your project to a known state",
4 4
         "Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file"
5 5
     ],
6
-    "hash": "a495d1f20215c2bb00b2ec15f5c3146d",
6
+    "hash": "731405d952664265b0f7c39cb81bdd10",
7 7
     "packages": [
8 8
         {
9 9
             "name": "symfony/process",
10
-            "version": "v2.2.1",
10
+            "version": "v2.4.4",
11 11
             "target-dir": "Symfony/Component/Process",
12 12
             "source": {
13 13
                 "type": "git",
14 14
                 "url": "https://github.com/symfony/Process.git",
15
-                "reference": "v2.2.1"
15
+                "reference": "8721f1476d5d38a43c7d6ccb6435b351cf8f3bb7"
16 16
             },
17 17
             "dist": {
18 18
                 "type": "zip",
19
-                "url": "https://api.github.com/repos/symfony/Process/zipball/v2.2.1",
20
-                "reference": "v2.2.1",
19
+                "url": "https://api.github.com/repos/symfony/Process/zipball/8721f1476d5d38a43c7d6ccb6435b351cf8f3bb7",
20
+                "reference": "8721f1476d5d38a43c7d6ccb6435b351cf8f3bb7",
21 21
                 "shasum": ""
22 22
             },
23 23
             "require": {
... ...
@@ -26,7 +26,7 @@
26 26
             "type": "library",
27 27
             "extra": {
28 28
                 "branch-alias": {
29
-                    "dev-master": "2.2-dev"
29
+                    "dev-master": "2.4-dev"
30 30
                 }
31 31
             },
32 32
             "autoload": {
... ...
@@ -41,7 +41,9 @@
41 41
             "authors": [
42 42
                 {
43 43
                     "name": "Fabien Potencier",
44
-                    "email": "fabien@symfony.com"
44
+                    "email": "fabien@symfony.com",
45
+                    "homepage": "http://fabien.potencier.org",
46
+                    "role": "Lead Developer"
45 47
                 },
46 48
                 {
47 49
                     "name": "Symfony Community",
... ...
@@ -50,41 +52,116 @@
50 50
             ],
51 51
             "description": "Symfony Process Component",
52 52
             "homepage": "http://symfony.com",
53
-            "time": "2013-03-23 07:49:54"
53
+            "time": "2014-04-27 13:34:57"
54 54
         }
55 55
     ],
56 56
     "packages-dev": [
57 57
         {
58
+            "name": "mockery/mockery",
59
+            "version": "0.9.1",
60
+            "source": {
61
+                "type": "git",
62
+                "url": "https://github.com/padraic/mockery.git",
63
+                "reference": "17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1"
64
+            },
65
+            "dist": {
66
+                "type": "zip",
67
+                "url": "https://api.github.com/repos/padraic/mockery/zipball/17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1",
68
+                "reference": "17f63ee40ed14a8afb7ba1f0ae15cc4491d719d1",
69
+                "shasum": ""
70
+            },
71
+            "require": {
72
+                "lib-pcre": ">=7.0",
73
+                "php": ">=5.3.2"
74
+            },
75
+            "require-dev": {
76
+                "hamcrest/hamcrest-php": "~1.1",
77
+                "phpunit/phpunit": "~4.0",
78
+                "satooshi/php-coveralls": "~0.7@dev"
79
+            },
80
+            "type": "library",
81
+            "extra": {
82
+                "branch-alias": {
83
+                    "dev-master": "0.9.x-dev"
84
+                }
85
+            },
86
+            "autoload": {
87
+                "psr-0": {
88
+                    "Mockery": "library/"
89
+                }
90
+            },
91
+            "notification-url": "https://packagist.org/downloads/",
92
+            "license": [
93
+                "BSD-3-Clause"
94
+            ],
95
+            "authors": [
96
+                {
97
+                    "name": "Pádraic Brady",
98
+                    "email": "padraic.brady@gmail.com",
99
+                    "homepage": "http://blog.astrumfutura.com"
100
+                },
101
+                {
102
+                    "name": "Dave Marshall",
103
+                    "email": "dave.marshall@atstsolutions.co.uk",
104
+                    "homepage": "http://davedevelopment.co.uk"
105
+                }
106
+            ],
107
+            "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.",
108
+            "homepage": "http://github.com/padraic/mockery",
109
+            "keywords": [
110
+                "BDD",
111
+                "TDD",
112
+                "library",
113
+                "mock",
114
+                "mock objects",
115
+                "mockery",
116
+                "stub",
117
+                "test",
118
+                "test double",
119
+                "testing"
120
+            ],
121
+            "time": "2014-05-02 12:16:45"
122
+        },
123
+        {
58 124
             "name": "phpunit/php-code-coverage",
59
-            "version": "1.2.11",
125
+            "version": "2.0.6",
60 126
             "source": {
61 127
                 "type": "git",
62 128
                 "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
63
-                "reference": "1.2.11"
129
+                "reference": "bccecf50645068b44f49a84009e2a0499a500b99"
64 130
             },
65 131
             "dist": {
66 132
                 "type": "zip",
67
-                "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/1.2.11",
68
-                "reference": "1.2.11",
133
+                "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/bccecf50645068b44f49a84009e2a0499a500b99",
134
+                "reference": "bccecf50645068b44f49a84009e2a0499a500b99",
69 135
                 "shasum": ""
70 136
             },
71 137
             "require": {
72 138
                 "php": ">=5.3.3",
73
-                "phpunit/php-file-iterator": ">=1.3.0@stable",
74
-                "phpunit/php-text-template": ">=1.1.1@stable",
75
-                "phpunit/php-token-stream": ">=1.1.3@stable"
139
+                "phpunit/php-file-iterator": "~1.3.1",
140
+                "phpunit/php-text-template": "~1.2.0",
141
+                "phpunit/php-token-stream": "~1.2.2",
142
+                "sebastian/environment": "~1.0.0",
143
+                "sebastian/version": "~1.0.3"
76 144
             },
77 145
             "require-dev": {
78
-                "phpunit/phpunit": "3.7.*"
146
+                "ext-xdebug": ">=2.1.4",
147
+                "phpunit/phpunit": "~4.0.14"
79 148
             },
80 149
             "suggest": {
81 150
                 "ext-dom": "*",
82
-                "ext-xdebug": ">=2.0.5"
151
+                "ext-xdebug": ">=2.2.1",
152
+                "ext-xmlwriter": "*"
83 153
             },
84 154
             "type": "library",
155
+            "extra": {
156
+                "branch-alias": {
157
+                    "dev-master": "2.0.x-dev"
158
+                }
159
+            },
85 160
             "autoload": {
86 161
                 "classmap": [
87
-                    "PHP/"
162
+                    "src/"
88 163
                 ]
89 164
             },
90 165
             "notification-url": "https://packagist.org/downloads/",
... ...
@@ -108,20 +185,20 @@
108 108
                 "testing",
109 109
                 "xunit"
110 110
             ],
111
-            "time": "2013-05-23 18:23:24"
111
+            "time": "2014-04-30 09:01:21"
112 112
         },
113 113
         {
114 114
             "name": "phpunit/php-file-iterator",
115
-            "version": "1.3.3",
115
+            "version": "1.3.4",
116 116
             "source": {
117 117
                 "type": "git",
118
-                "url": "git://github.com/sebastianbergmann/php-file-iterator.git",
119
-                "reference": "1.3.3"
118
+                "url": "https://github.com/sebastianbergmann/php-file-iterator.git",
119
+                "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb"
120 120
             },
121 121
             "dist": {
122 122
                 "type": "zip",
123
-                "url": "https://github.com/sebastianbergmann/php-file-iterator/zipball/1.3.3",
124
-                "reference": "1.3.3",
123
+                "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/acd690379117b042d1c8af1fafd61bde001bf6bb",
124
+                "reference": "acd690379117b042d1c8af1fafd61bde001bf6bb",
125 125
                 "shasum": ""
126 126
             },
127 127
             "require": {
... ...
@@ -148,25 +225,25 @@
148 148
                 }
149 149
             ],
150 150
             "description": "FilterIterator implementation that filters files based on a list of suffixes.",
151
-            "homepage": "http://www.phpunit.de/",
151
+            "homepage": "https://github.com/sebastianbergmann/php-file-iterator/",
152 152
             "keywords": [
153 153
                 "filesystem",
154 154
                 "iterator"
155 155
             ],
156
-            "time": "2012-10-11 04:44:38"
156
+            "time": "2013-10-10 15:34:57"
157 157
         },
158 158
         {
159 159
             "name": "phpunit/php-text-template",
160
-            "version": "1.1.4",
160
+            "version": "1.2.0",
161 161
             "source": {
162 162
                 "type": "git",
163
-                "url": "git://github.com/sebastianbergmann/php-text-template.git",
164
-                "reference": "1.1.4"
163
+                "url": "https://github.com/sebastianbergmann/php-text-template.git",
164
+                "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a"
165 165
             },
166 166
             "dist": {
167 167
                 "type": "zip",
168
-                "url": "https://github.com/sebastianbergmann/php-text-template/zipball/1.1.4",
169
-                "reference": "1.1.4",
168
+                "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
169
+                "reference": "206dfefc0ffe9cebf65c413e3d0e809c82fbf00a",
170 170
                 "shasum": ""
171 171
             },
172 172
             "require": {
... ...
@@ -197,20 +274,20 @@
197 197
             "keywords": [
198 198
                 "template"
199 199
             ],
200
-            "time": "2012-10-31 11:15:28"
200
+            "time": "2014-01-30 17:20:04"
201 201
         },
202 202
         {
203 203
             "name": "phpunit/php-timer",
204
-            "version": "1.0.4",
204
+            "version": "1.0.5",
205 205
             "source": {
206 206
                 "type": "git",
207
-                "url": "git://github.com/sebastianbergmann/php-timer.git",
208
-                "reference": "1.0.4"
207
+                "url": "https://github.com/sebastianbergmann/php-timer.git",
208
+                "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c"
209 209
             },
210 210
             "dist": {
211 211
                 "type": "zip",
212
-                "url": "https://github.com/sebastianbergmann/php-timer/zipball/1.0.4",
213
-                "reference": "1.0.4",
212
+                "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
213
+                "reference": "19689d4354b295ee3d8c54b4f42c3efb69cbc17c",
214 214
                 "shasum": ""
215 215
             },
216 216
             "require": {
... ...
@@ -237,24 +314,24 @@
237 237
                 }
238 238
             ],
239 239
             "description": "Utility class for timing",
240
-            "homepage": "http://www.phpunit.de/",
240
+            "homepage": "https://github.com/sebastianbergmann/php-timer/",
241 241
             "keywords": [
242 242
                 "timer"
243 243
             ],
244
-            "time": "2012-10-11 04:45:58"
244
+            "time": "2013-08-02 07:42:54"
245 245
         },
246 246
         {
247 247
             "name": "phpunit/php-token-stream",
248
-            "version": "1.1.5",
248
+            "version": "1.2.2",
249 249
             "source": {
250 250
                 "type": "git",
251
-                "url": "git://github.com/sebastianbergmann/php-token-stream.git",
252
-                "reference": "1.1.5"
251
+                "url": "https://github.com/sebastianbergmann/php-token-stream.git",
252
+                "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32"
253 253
             },
254 254
             "dist": {
255 255
                 "type": "zip",
256
-                "url": "https://github.com/sebastianbergmann/php-token-stream/zipball/1.1.5",
257
-                "reference": "1.1.5",
256
+                "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/ad4e1e23ae01b483c16f600ff1bebec184588e32",
257
+                "reference": "ad4e1e23ae01b483c16f600ff1bebec184588e32",
258 258
                 "shasum": ""
259 259
             },
260 260
             "require": {
... ...
@@ -262,6 +339,11 @@
262 262
                 "php": ">=5.3.3"
263 263
             },
264 264
             "type": "library",
265
+            "extra": {
266
+                "branch-alias": {
267
+                    "dev-master": "1.2-dev"
268
+                }
269
+            },
265 270
             "autoload": {
266 271
                 "classmap": [
267 272
                     "PHP/"
... ...
@@ -282,60 +364,60 @@
282 282
                 }
283 283
             ],
284 284
             "description": "Wrapper around PHP's tokenizer extension.",
285
-            "homepage": "http://www.phpunit.de/",
285
+            "homepage": "https://github.com/sebastianbergmann/php-token-stream/",
286 286
             "keywords": [
287 287
                 "tokenizer"
288 288
             ],
289
-            "time": "2012-10-11 04:47:14"
289
+            "time": "2014-03-03 05:10:30"
290 290
         },
291 291
         {
292 292
             "name": "phpunit/phpunit",
293
-            "version": "3.7.21",
293
+            "version": "4.1.0",
294 294
             "source": {
295 295
                 "type": "git",
296 296
                 "url": "https://github.com/sebastianbergmann/phpunit.git",
297
-                "reference": "3.7.21"
297
+                "reference": "efb1b1334605594417a3bd466477772d06d460a8"
298 298
             },
299 299
             "dist": {
300 300
                 "type": "zip",
301
-                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3.7.21",
302
-                "reference": "3.7.21",
301
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/efb1b1334605594417a3bd466477772d06d460a8",
302
+                "reference": "efb1b1334605594417a3bd466477772d06d460a8",
303 303
                 "shasum": ""
304 304
             },
305 305
             "require": {
306 306
                 "ext-dom": "*",
307
+                "ext-json": "*",
307 308
                 "ext-pcre": "*",
308 309
                 "ext-reflection": "*",
309 310
                 "ext-spl": "*",
310 311
                 "php": ">=5.3.3",
311
-                "phpunit/php-code-coverage": ">=1.2.1,<1.3.0",
312
-                "phpunit/php-file-iterator": ">=1.3.1",
313
-                "phpunit/php-text-template": ">=1.1.1",
314
-                "phpunit/php-timer": ">=1.0.2,<1.1.0",
315
-                "phpunit/phpunit-mock-objects": ">=1.2.0,<1.3.0",
316
-                "symfony/yaml": ">=2.0,<3.0"
317
-            },
318
-            "require-dev": {
319
-                "pear-pear/pear": "1.9.4"
312
+                "phpunit/php-code-coverage": "~2.0",
313
+                "phpunit/php-file-iterator": "~1.3.1",
314
+                "phpunit/php-text-template": "~1.2",
315
+                "phpunit/php-timer": "~1.0.2",
316
+                "phpunit/phpunit-mock-objects": "~2.1",
317
+                "sebastian/comparator": "~1.0",
318
+                "sebastian/diff": "~1.1",
319
+                "sebastian/environment": "~1.0",
320
+                "sebastian/exporter": "~1.0",
321
+                "sebastian/version": "~1.0",
322
+                "symfony/yaml": "~2.0"
320 323
             },
321 324
             "suggest": {
322
-                "ext-json": "*",
323
-                "ext-simplexml": "*",
324
-                "ext-tokenizer": "*",
325
-                "phpunit/php-invoker": ">=1.1.0,<1.2.0"
325
+                "phpunit/php-invoker": "~1.1"
326 326
             },
327 327
             "bin": [
328
-                "composer/bin/phpunit"
328
+                "phpunit"
329 329
             ],
330 330
             "type": "library",
331 331
             "extra": {
332 332
                 "branch-alias": {
333
-                    "dev-master": "3.7.x-dev"
333
+                    "dev-master": "4.1.x-dev"
334 334
                 }
335 335
             },
336 336
             "autoload": {
337 337
                 "classmap": [
338
-                    "PHPUnit/"
338
+                    "src/"
339 339
                 ]
340 340
             },
341 341
             "notification-url": "https://packagist.org/downloads/",
... ...
@@ -360,33 +442,41 @@
360 360
                 "testing",
361 361
                 "xunit"
362 362
             ],
363
-            "time": "2013-05-23 18:54:29"
363
+            "time": "2014-05-02 07:13:40"
364 364
         },
365 365
         {
366 366
             "name": "phpunit/phpunit-mock-objects",
367
-            "version": "1.2.3",
367
+            "version": "2.1.0",
368 368
             "source": {
369 369
                 "type": "git",
370
-                "url": "git://github.com/sebastianbergmann/phpunit-mock-objects.git",
371
-                "reference": "1.2.3"
370
+                "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
371
+                "reference": "da0eb04d8ee95ec2898187e407e519c118d3d27c"
372 372
             },
373 373
             "dist": {
374 374
                 "type": "zip",
375
-                "url": "https://github.com/sebastianbergmann/phpunit-mock-objects/archive/1.2.3.zip",
376
-                "reference": "1.2.3",
375
+                "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/da0eb04d8ee95ec2898187e407e519c118d3d27c",
376
+                "reference": "da0eb04d8ee95ec2898187e407e519c118d3d27c",
377 377
                 "shasum": ""
378 378
             },
379 379
             "require": {
380 380
                 "php": ">=5.3.3",
381
-                "phpunit/php-text-template": ">=1.1.1@stable"
381
+                "phpunit/php-text-template": "~1.2"
382
+            },
383
+            "require-dev": {
384
+                "phpunit/phpunit": "~4.1"
382 385
             },
383 386
             "suggest": {
384 387
                 "ext-soap": "*"
385 388
             },
386 389
             "type": "library",
390
+            "extra": {
391
+                "branch-alias": {
392
+                    "dev-master": "2.1.x-dev"
393
+                }
394
+            },
387 395
             "autoload": {
388 396
                 "classmap": [
389
-                    "PHPUnit/"
397
+                    "src/"
390 398
                 ]
391 399
             },
392 400
             "notification-url": "https://packagist.org/downloads/",
... ...
@@ -409,21 +499,288 @@
409 409
                 "mock",
410 410
                 "xunit"
411 411
             ],
412
-            "time": "2013-01-13 10:24:48"
412
+            "time": "2014-05-02 07:04:11"
413
+        },
414
+        {
415
+            "name": "sebastian/comparator",
416
+            "version": "1.0.0",
417
+            "source": {
418
+                "type": "git",
419
+                "url": "https://github.com/sebastianbergmann/comparator.git",
420
+                "reference": "f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2"
421
+            },
422
+            "dist": {
423
+                "type": "zip",
424
+                "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2",
425
+                "reference": "f7069ee51fa9fb6c038e16a9d0e3439f5449dcf2",
426
+                "shasum": ""
427
+            },
428
+            "require": {
429
+                "php": ">=5.3.3",
430
+                "sebastian/diff": "~1.1",
431
+                "sebastian/exporter": "~1.0"
432
+            },
433
+            "require-dev": {
434
+                "phpunit/phpunit": "~4.1"
435
+            },
436
+            "type": "library",
437
+            "extra": {
438
+                "branch-alias": {
439
+                    "dev-master": "1.0.x-dev"
440
+                }
441
+            },
442
+            "autoload": {
443
+                "classmap": [
444
+                    "src/"
445
+                ]
446
+            },
447
+            "notification-url": "https://packagist.org/downloads/",
448
+            "license": [
449
+                "BSD-3-Clause"
450
+            ],
451
+            "authors": [
452
+                {
453
+                    "name": "Sebastian Bergmann",
454
+                    "email": "sebastian@phpunit.de",
455
+                    "role": "lead"
456
+                },
457
+                {
458
+                    "name": "Jeff Welch",
459
+                    "email": "whatthejeff@gmail.com"
460
+                },
461
+                {
462
+                    "name": "Volker Dusch",
463
+                    "email": "github@wallbash.com"
464
+                },
465
+                {
466
+                    "name": "Bernhard Schussek",
467
+                    "email": "bschussek@2bepublished.at"
468
+                }
469
+            ],
470
+            "description": "Provides the functionality to compare PHP values for equality",
471
+            "homepage": "http://www.github.com/sebastianbergmann/comparator",
472
+            "keywords": [
473
+                "comparator",
474
+                "compare",
475
+                "equality"
476
+            ],
477
+            "time": "2014-05-02 07:05:58"
478
+        },
479
+        {
480
+            "name": "sebastian/diff",
481
+            "version": "1.1.0",
482
+            "source": {
483
+                "type": "git",
484
+                "url": "https://github.com/sebastianbergmann/diff.git",
485
+                "reference": "1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d"
486
+            },
487
+            "dist": {
488
+                "type": "zip",
489
+                "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d",
490
+                "reference": "1e091702a5a38e6b4c1ba9ca816e3dd343df2e2d",
491
+                "shasum": ""
492
+            },
493
+            "require": {
494
+                "php": ">=5.3.3"
495
+            },
496
+            "type": "library",
497
+            "extra": {
498
+                "branch-alias": {
499
+                    "dev-master": "1.1-dev"
500
+                }
501
+            },
502
+            "autoload": {
503
+                "classmap": [
504
+                    "src/"
505
+                ]
506
+            },
507
+            "notification-url": "https://packagist.org/downloads/",
508
+            "license": [
509
+                "BSD-3-Clause"
510
+            ],
511
+            "authors": [
512
+                {
513
+                    "name": "Sebastian Bergmann",
514
+                    "email": "sebastian@phpunit.de",
515
+                    "role": "lead"
516
+                },
517
+                {
518
+                    "name": "Kore Nordmann",
519
+                    "email": "mail@kore-nordmann.de"
520
+                }
521
+            ],
522
+            "description": "Diff implementation",
523
+            "homepage": "http://www.github.com/sebastianbergmann/diff",
524
+            "keywords": [
525
+                "diff"
526
+            ],
527
+            "time": "2013-08-03 16:46:33"
528
+        },
529
+        {
530
+            "name": "sebastian/environment",
531
+            "version": "1.0.0",
532
+            "source": {
533
+                "type": "git",
534
+                "url": "https://github.com/sebastianbergmann/environment.git",
535
+                "reference": "79517609ec01139cd7e9fded0dd7ce08c952ef6a"
536
+            },
537
+            "dist": {
538
+                "type": "zip",
539
+                "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/79517609ec01139cd7e9fded0dd7ce08c952ef6a",
540
+                "reference": "79517609ec01139cd7e9fded0dd7ce08c952ef6a",
541
+                "shasum": ""
542
+            },
543
+            "require": {
544
+                "php": ">=5.3.3"
545
+            },
546
+            "require-dev": {
547
+                "phpunit/phpunit": "4.0.*@dev"
548
+            },
549
+            "type": "library",
550
+            "extra": {
551
+                "branch-alias": {
552
+                    "dev-master": "1.0.x-dev"
553
+                }
554
+            },
555
+            "autoload": {
556
+                "classmap": [
557
+                    "src/"
558
+                ]
559
+            },
560
+            "notification-url": "https://packagist.org/downloads/",
561
+            "license": [
562
+                "BSD-3-Clause"
563
+            ],
564
+            "authors": [
565
+                {
566
+                    "name": "Sebastian Bergmann",
567
+                    "email": "sebastian@phpunit.de",
568
+                    "role": "lead"
569
+                }
570
+            ],
571
+            "description": "Provides functionality to handle HHVM/PHP environments",
572
+            "homepage": "http://www.github.com/sebastianbergmann/environment",
573
+            "keywords": [
574
+                "Xdebug",
575
+                "environment",
576
+                "hhvm"
577
+            ],
578
+            "time": "2014-02-18 16:17:19"
579
+        },
580
+        {
581
+            "name": "sebastian/exporter",
582
+            "version": "1.0.1",
583
+            "source": {
584
+                "type": "git",
585
+                "url": "https://github.com/sebastianbergmann/exporter.git",
586
+                "reference": "1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529"
587
+            },
588
+            "dist": {
589
+                "type": "zip",
590
+                "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529",
591
+                "reference": "1f9a98e6f5dfe0524cb8c6166f7c82f3e9ae1529",
592
+                "shasum": ""
593
+            },
594
+            "require": {
595
+                "php": ">=5.3.3"
596
+            },
597
+            "require-dev": {
598
+                "phpunit/phpunit": "4.0.*@dev"
599
+            },
600
+            "type": "library",
601
+            "extra": {
602
+                "branch-alias": {
603
+                    "dev-master": "1.0.x-dev"
604
+                }
605
+            },
606
+            "autoload": {
607
+                "classmap": [
608
+                    "src/"
609
+                ]
610
+            },
611
+            "notification-url": "https://packagist.org/downloads/",
612
+            "license": [
613
+                "BSD-3-Clause"
614
+            ],
615
+            "authors": [
616
+                {
617
+                    "name": "Sebastian Bergmann",
618
+                    "email": "sebastian@phpunit.de",
619
+                    "role": "lead"
620
+                },
621
+                {
622
+                    "name": "Jeff Welch",
623
+                    "email": "whatthejeff@gmail.com"
624
+                },
625
+                {
626
+                    "name": "Volker Dusch",
627
+                    "email": "github@wallbash.com"
628
+                },
629
+                {
630
+                    "name": "Adam Harvey",
631
+                    "email": "aharvey@php.net"
632
+                },
633
+                {
634
+                    "name": "Bernhard Schussek",
635
+                    "email": "bschussek@2bepublished.at"
636
+                }
637
+            ],
638
+            "description": "Provides the functionality to export PHP variables for visualization",
639
+            "homepage": "http://www.github.com/sebastianbergmann/exporter",
640
+            "keywords": [
641
+                "export",
642
+                "exporter"
643
+            ],
644
+            "time": "2014-02-16 08:26:31"
645
+        },
646
+        {
647
+            "name": "sebastian/version",
648
+            "version": "1.0.3",
649
+            "source": {
650
+                "type": "git",
651
+                "url": "https://github.com/sebastianbergmann/version.git",
652
+                "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43"
653
+            },
654
+            "dist": {
655
+                "type": "zip",
656
+                "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43",
657
+                "reference": "b6e1f0cf6b9e1ec409a0d3e2f2a5fb0998e36b43",
658
+                "shasum": ""
659
+            },
660
+            "type": "library",
661
+            "autoload": {
662
+                "classmap": [
663
+                    "src/"
664
+                ]
665
+            },
666
+            "notification-url": "https://packagist.org/downloads/",
667
+            "license": [
668
+                "BSD-3-Clause"
669
+            ],
670
+            "authors": [
671
+                {
672
+                    "name": "Sebastian Bergmann",
673
+                    "email": "sebastian@phpunit.de",
674
+                    "role": "lead"
675
+                }
676
+            ],
677
+            "description": "Library that helps with managing the version number of Git-hosted PHP projects",
678
+            "homepage": "https://github.com/sebastianbergmann/version",
679
+            "time": "2014-03-07 15:35:33"
413 680
         },
414 681
         {
415 682
             "name": "symfony/filesystem",
416
-            "version": "v2.2.1",
683
+            "version": "v2.4.4",
417 684
             "target-dir": "Symfony/Component/Filesystem",
418 685
             "source": {
419 686
                 "type": "git",
420 687
                 "url": "https://github.com/symfony/Filesystem.git",
421
-                "reference": "v2.2.1"
688
+                "reference": "a3af8294bcce4a7c1b2892363b0c9d8109affad4"
422 689
             },
423 690
             "dist": {
424 691
                 "type": "zip",
425
-                "url": "https://api.github.com/repos/symfony/Filesystem/zipball/v2.2.1",
426
-                "reference": "v2.2.1",
692
+                "url": "https://api.github.com/repos/symfony/Filesystem/zipball/a3af8294bcce4a7c1b2892363b0c9d8109affad4",
693
+                "reference": "a3af8294bcce4a7c1b2892363b0c9d8109affad4",
427 694
                 "shasum": ""
428 695
             },
429 696
             "require": {
... ...
@@ -432,7 +789,7 @@
432 432
             "type": "library",
433 433
             "extra": {
434 434
                 "branch-alias": {
435
-                    "dev-master": "2.2-dev"
435
+                    "dev-master": "2.4-dev"
436 436
                 }
437 437
             },
438 438
             "autoload": {
... ...
@@ -447,7 +804,9 @@
447 447
             "authors": [
448 448
                 {
449 449
                     "name": "Fabien Potencier",
450
-                    "email": "fabien@symfony.com"
450
+                    "email": "fabien@symfony.com",
451
+                    "homepage": "http://fabien.potencier.org",
452
+                    "role": "Lead Developer"
451 453
                 },
452 454
                 {
453 455
                     "name": "Symfony Community",
... ...
@@ -456,21 +815,21 @@
456 456
             ],
457 457
             "description": "Symfony Filesystem Component",
458 458
             "homepage": "http://symfony.com",
459
-            "time": "2013-01-17 15:25:59"
459
+            "time": "2014-04-16 10:34:31"
460 460
         },
461 461
         {
462 462
             "name": "symfony/yaml",
463
-            "version": "v2.2.1",
463
+            "version": "v2.4.4",
464 464
             "target-dir": "Symfony/Component/Yaml",
465 465
             "source": {
466 466
                 "type": "git",
467 467
                 "url": "https://github.com/symfony/Yaml.git",
468
-                "reference": "v2.2.1"
468
+                "reference": "65539ecde838f9c0d18b006b2101e3deb4b5c9ff"
469 469
             },
470 470
             "dist": {
471 471
                 "type": "zip",
472
-                "url": "https://api.github.com/repos/symfony/Yaml/zipball/v2.2.1",
473
-                "reference": "v2.2.1",
472
+                "url": "https://api.github.com/repos/symfony/Yaml/zipball/65539ecde838f9c0d18b006b2101e3deb4b5c9ff",
473
+                "reference": "65539ecde838f9c0d18b006b2101e3deb4b5c9ff",
474 474
                 "shasum": ""
475 475
             },
476 476
             "require": {
... ...
@@ -479,7 +838,7 @@
479 479
             "type": "library",
480 480
             "extra": {
481 481
                 "branch-alias": {
482
-                    "dev-master": "2.2-dev"
482
+                    "dev-master": "2.4-dev"
483 483
                 }
484 484
             },
485 485
             "autoload": {
... ...
@@ -494,7 +853,9 @@
494 494
             "authors": [
495 495
                 {
496 496
                     "name": "Fabien Potencier",
497
-                    "email": "fabien@symfony.com"
497
+                    "email": "fabien@symfony.com",
498
+                    "homepage": "http://fabien.potencier.org",
499
+                    "role": "Lead Developer"
498 500
                 },
499 501
                 {
500 502
                     "name": "Symfony Community",
... ...
@@ -503,7 +864,7 @@
503 503
             ],
504 504
             "description": "Symfony Yaml Component",
505 505
             "homepage": "http://symfony.com",
506
-            "time": "2013-03-23 07:49:54"
506
+            "time": "2014-04-18 20:37:09"
507 507
         }
508 508
     ],
509 509
     "aliases": [
... ...
@@ -1,8 +1,7 @@
1 1
 <?php
2 2
 namespace Gitter\Model\Commit;
3 3
 
4
-
5
-class Collection implements \ArrayAccess {
4
+class Collection implements \ArrayAccess, \IteratorAggregate, \Countable {
6 5
     /**
7 6
      * @var array
8 7
      */
... ...
@@ -59,4 +58,20 @@ class Collection implements \ArrayAccess {
59 59
     {
60 60
         unset($this->commits[$offset]);
61 61
     }
62
+
63
+    /**
64
+     * {@inheritdoc}
65
+     */
66
+    public function getIterator()
67
+    {
68
+        return new \ArrayIterator($this->commits);
69
+    }
70
+
71
+    /**
72
+     * {@inheritdoc}
73
+     */
74
+    public function count()
75
+    {
76
+        return count($this->commits);
77
+    }
62 78
 }
63 79
\ No newline at end of file