public function createCollectionManyHasOne(PropertyMetadata $metadata, IEntity $parent) { return $this->findAll()->setRelationshipMapping($this->getRelationshipMapper(Relationship::MANY_HAS_ONE, $metadata), $parent); }