X-Git-Url: http://git.inspyration.org/?a=blobdiff_plain;f=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FModels%2FNavigation%2FNavPointOfInterest.php;fp=vendor%2Fdoctrine%2Form%2Ftests%2FDoctrine%2FTests%2FModels%2FNavigation%2FNavPointOfInterest.php;h=33d0f70bdb2e42c440007381ed729fc9f3d21ee5;hb=8b04b2d11798dee4f3e1358e4f43e97a6df851f6;hp=0000000000000000000000000000000000000000;hpb=73568cf05a785a45f94ca3f2351d9e07bf917958;p=zf2.biz%2Fapplication_blanche.git diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Navigation/NavPointOfInterest.php b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Navigation/NavPointOfInterest.php new file mode 100644 index 0000000..33d0f70 --- /dev/null +++ b/vendor/doctrine/orm/tests/Doctrine/Tests/Models/Navigation/NavPointOfInterest.php @@ -0,0 +1,79 @@ +lat = $lat; + $this->long = $long; + $this->name = $name; + $this->country = $country; + $this->visitors = new \Doctrine\Common\Collections\ArrayCollection; + } + + public function getLong() { + return $this->long; + } + + public function getLat() { + return $this->lat; + } + + public function getName() { + return $this->name; + } + + public function getCountry() { + return $this->country; + } + + public function addVisitor(NavUser $user) + { + $this->visitors[] = $user; + } + + public function getVisitors() + { + return $this->visitors; + } +}