1: <?php
2:
3: namespace Chromabits\Nucleus\Data;
4:
5: use Chromabits\Nucleus\Meditation\Boa;
6: use Chromabits\Nucleus\Meditation\Constraints\PrimitiveTypeConstraint;
7:
8: /**
9: * Class IndexedCollection.
10: *
11: * @author Eduardo Trujillo <ed@chromabits.com>
12: * @package Chromabits\Nucleus\Data
13: */
14: abstract class IndexedCollection extends Collection
15: {
16: /**
17: * @return PrimitiveTypeConstraint
18: */
19: public function getKeyType()
20: {
21: return Boa::integer();
22: }
23: }