1: <?php
2:
3: namespace PHPixie\ORM\Relationships\Type\Embeds;
4:
5: abstract class Side extends \PHPixie\ORM\Relationships\Relationship\Implementation\Side
6: implements \PHPixie\ORM\Relationships\Relationship\Side\Relationship,
7: \PHPixie\ORM\Relationships\Relationship\Side\Preload,
8: \PHPixie\ORM\Relationships\Relationship\Side\Property\Entity
9: {
10: public function modelName()
11: {
12: return $this->config->ownerModel;
13: }
14:
15: public function propertyName()
16: {
17: return $this->config->ownerProperty();
18: }
19:
20: public function relatedModelName()
21: {
22: return $this->config->itemModel;
23: }
24: }
25: