1: <?php
2:
3: namespace PHPixie\ORM\Models\Type\Embedded\Implementation;
4:
5: class Entity extends \PHPixie\ORM\Models\Model\Implementation\Entity
6: implements \PHPixie\ORM\Models\Type\Embedded\Entity
7: {
8: protected $owner;
9: protected $ownerPropertyName;
10:
11: public function setOwnerRelationship($owner, $ownerPropertyName)
12: {
13: $this->owner = $owner;
14: $this->ownerPropertyName = $ownerPropertyName;
15: }
16:
17: public function unsetOwnerRelationship()
18: {
19: $this->owner = null;
20: $this->ownerPropertyName = null;
21: return $this;
22: }
23:
24: public function owner()
25: {
26: return $this->owner;
27: }
28:
29: public function ownerPropertyName()
30: {
31: return $this->ownerPropertyName;
32: }
33: }
34: