Relationship

A tester

// MyModel
public function someDistantModels()
{
    return $this->relatedToMany('app\ModelToReturn', function($query) {
        $query -> ... // extend the query to go find the model data
    });
}