Bristol SU Support Package
Public Member Functions | List of all members
BristolSU\Support\Connection\AccessibleConnectionScope Class Reference
Inheritance diagram for BristolSU\Support\Connection\AccessibleConnectionScope:
Inheritance graph
[legend]
Collaboration diagram for BristolSU\Support\Connection\AccessibleConnectionScope:
Collaboration graph
[legend]

Public Member Functions

 apply (Builder $builder, Model $model)
 

Detailed Description

Scope for connections accessible to the current user

Definition at line 13 of file AccessibleConnectionScope.php.

Member Function Documentation

◆ apply()

BristolSU\Support\Connection\AccessibleConnectionScope::apply ( Builder  $builder,
Model  $model 
)

Only return connections which are accessible by the current user

Parameters
Builder$builderQuery builder
Model$modelModel being scoped

Definition at line 22 of file AccessibleConnectionScope.php.


The documentation for this class was generated from the following file: