Lines Matching refs:personCollection
96 $personCollection = new PersonLocation();
100 $personCollection->person = $person;
101 $personCollection->location = 'The Netherlands';
103 … self::assertEquals($this->getContent('person_location'), $this->serialize($personCollection));
108 $personCollection = new PersonCollection();
112 $personCollection->persons->add($person);
113 $personCollection->location = 'The Netherlands';
115 … self::assertEquals($this->getContent('person_collection'), $this->serialize($personCollection));
247 $personCollection = new PersonCollection();
256 $personCollection->persons->add($personA);
257 $personCollection->persons->add($personB);
259 $object->personCollection = $personCollection;