1: <?php
2:
3: namespace PHPixie\ORM\Planners\Planner\Pivot;
4:
5: class Side
6: {
7: public $items;
8: public $repository;
9: public $pivotKey;
10:
11: public function __construct($items, $repository, $pivotKey)
12: {
13: $this->items = $items;
14: $this->repository = $repository;
15: $this->pivotKey = $pivotKey;
16: }
17:
18: public function items()
19: {
20: return $this->items;
21: }
22:
23: public function repository()
24: {
25: return $this->repository;
26: }
27:
28: public function pivotKey()
29: {
30: return $this->pivotKey;
31: }
32:
33: public function connection()
34: {
35: return $this->repository->connection();
36: }
37: }
38: