Scoping belongsToMany relationship?

Is it possible to scope the relationships on a belongsToMany to be for a selector? We are using a simple companies table with a relationship mapping table, but we have a type so want to scope the relationship to the type in question.
Was this page helpful?