메소드 | 설명 | |
---|---|---|
findOrFail ( integer $id, |
Find a user by ID, optionally making sure it is visible to a certain user, or throw an exception. | |
query ( ) : |
Get a new query builder for the groups table. |
메소드 | 설명 | |
---|---|---|
scopeVisibleTo ( |
Scope a query to only include records that are visible to a user. |
public findOrFail ( integer $id, |
||
$id | integer | |
$actor | ||
리턴 |
public query ( ) : |
||
리턴 |
protected scopeVisibleTo ( |
||
$query | ||
$actor | ||
리턴 |