X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=vendor%2Fdoctrine%2Form%2Ftools%2Fsandbox%2FEntities%2FUser.php;fp=vendor%2Fdoctrine%2Form%2Ftools%2Fsandbox%2FEntities%2FUser.php;h=cd184212c0d25aa4357bdae6f38e26dc6349abda;hb=8b04b2d11798dee4f3e1358e4f43e97a6df851f6;hp=0000000000000000000000000000000000000000;hpb=73568cf05a785a45f94ca3f2351d9e07bf917958;p=zf2.biz%2Fapplication_blanche.git diff --git a/vendor/doctrine/orm/tools/sandbox/Entities/User.php b/vendor/doctrine/orm/tools/sandbox/Entities/User.php new file mode 100644 index 0000000..cd18421 --- /dev/null +++ b/vendor/doctrine/orm/tools/sandbox/Entities/User.php @@ -0,0 +1,48 @@ +id; + } + + public function getName() + { + return $this->name; + } + + public function setName($name) + { + $this->name = $name; + } + + public function getAddress() + { + return $this->address; + } + + public function setAddress(Address $address) + { + if ($this->address !== $address) { + $this->address = $address; + $address->setUser($this); + } + } +} \ No newline at end of file