Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Flarum
Core
Support
ScopeVisibilityTrait
PHP 트레잇 Flarum\Core\Support\ScopeVisibilityTrait
파일 보기
프로젝트 열기: flarum/core
공개 메소드들
메소드
설명
scopeWhereVisibleTo
(
Builder
$query
,
User
$actor
)
Scope a query to only include records that are visible to a user.
메소드 상세
scopeWhereVisibleTo()
공개
메소드
Scope a query to only include records that are visible to a user.
public
scopeWhereVisibleTo
(
Builder
$query
,
User
$actor
)
$query
Illuminate\Database\Eloquent\Builder
$actor
Flarum\Core\User