Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Flarum
Core
Support
ScopeVisibilityTrait
PHP Trait Flarum\Core\Support\ScopeVisibilityTrait
ファイルを表示
Open project: flarum/core
Public Methods
Method
Description
scopeWhereVisibleTo
(
Builder
$query
,
User
$actor
)
Scope a query to only include records that are visible to a user.
Method Details
scopeWhereVisibleTo()
public
method
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