PHP Trait Mpociot\Teamwork\Traits\UsedByTeams

Datei anzeigen Open project: mpociot/teamwork

Public Methods

Method Description
scopeAllTeams ( Builder $query ) : mixed
team ( ) : mixed

Protected Methods

Method Description
bootUsedByTeams ( ) Boot the global scope
teamGuard ( )

Method Details

bootUsedByTeams() protected static method

Boot the global scope
protected static bootUsedByTeams ( )

scopeAllTeams() public method

public scopeAllTeams ( Builder $query ) : mixed
$query Illuminate\Database\Eloquent\Builder
return mixed

team() public method

public team ( ) : mixed
return mixed

teamGuard() protected static method

protected static teamGuard ( )