src/Leevel/Database/Ddd/Relation/HasOne.php
public function matchPreLoad(array $entitys, Collection $result, string $relation): array
    {
        return $this->matchPreLoadOneOrMany($entitys, $result, $relation, 'one');
    }
public function matchPreLoad(array $entitys, Collection $result, string $relation): array
    {
        return $this->matchPreLoadOneOrMany($entitys, $result, $relation, 'one');
    }
匹配关联查询数据到模型实体.

@param \Leevel\Database\Ddd\IEntity[] $entitys
@param \Leevel\Collection\Collection  $result
@param string                         $relation

@return array