public function hasManyThrough($name, $through, $using, $config = []) {
        $defaults = [
            'through'  => $through,
            'using'    => $using,
            'relation' => 'hasManyThrough'
        ];
        $config += $defaults;
        return $this->bind($name, $config);
    }
public function hasManyThrough($name, $through, $using, $config = []) {
        $defaults = [
            'through'  => $through,
            'using'    => $using,
            'relation' => 'hasManyThrough'
        ];
        $config += $defaults;
        return $this->bind($name, $config);
    }
public function hasManyThrough ( $ name , $ through , $ using , $ config = [ ] ) { $ defaults = [ 'through' => $ through , 'using' => $ using , 'relation' => 'hasManyThrough' ] ; $ config += $ defaults ; return $ this -> bind ( $ name , $ config ) ; }
Sets a hasManyThrough relation.

@param  string  $name    The name of the relation (i.e. field name where it will be binded).
@param  string  $through the relation name to pivot table.
@param  string  $using   the target relation name in the through relation.
@param  array   $config  The configuration that should be specified in the relationship.
See the `Relationship` class for more information.
@return boolean
Sets a hasManyThrough relation .