public function hasMany($model, $serializer, $relation = null)
    {
        return $this->buildRelationship($model, $serializer, $relation, true);
    }
public function hasMany($model, $serializer, $relation = null)
    {
        return $this->buildRelationship($model, $serializer, $relation, true);
    }
public function hasMany ( $ model , $ serializer , $ relation = null ) { return $ this -> buildRelationship ( $ model , $ serializer , $ relation , true ) ; }
Get a relationship builder for a has-many relationship.

@param mixed $model
@param string|Closure|\Tobscure\JsonApi\SerializerInterface $serializer
@param string|null $relation
@return Relationship
Get a relationship builder for a has - many relationship .