Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Mpociot
Teamwork
Contracts
TeamworkUserInterface
teams
Mpociot\Teamwork\Contracts\TeamworkUserInterface::teams PHP Method
TeamworkUserInterface Interface Documentation
Show file
Open project: mpociot/teamwork
teams()
public
method
Many-to-Many relations with the user model.
public
teams
( ) :
Illuminate\Database\Eloquent\Relations\BelongsToMany
return
Illuminate\Database\Eloquent\Relations\BelongsToMany
public function teams();
TeamworkUserInterface
attachTeam
attachTeams
currentTeam
detachTeam
detachTeams
invites
isOwner
isOwnerOfTeam
switchTeam
teams