1: <?php
2:
3: namespace PHPixie\ORM\Relationships\Relationship\Implementation;
4:
5: abstract class Side implements \PHPixie\ORM\Relationships\Relationship\Side
6: {
7: protected $config;
8: protected $type;
9:
10: public function __construct($type, $config)
11: {
12: $this->type = $type;
13: $this->config = $config;
14: }
15:
16: public function type()
17: {
18: return $this->type;
19: }
20:
21: public function config()
22: {
23: return $this->config;
24: }
25:
26: abstract public function modelName();
27: abstract public function propertyName();
28: abstract public function relationshipType();
29: }
30: