Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Flarum
Core
Support
ScopeVisibilityTrait
PHP Trait Flarum\Core\Support\ScopeVisibilityTrait
Afficher le fichier
Open project: flarum/core
Méthodes publiques
Méthode
Description
scopeWhereVisibleTo
(
Builder
$query
,
User
$actor
)
Scope a query to only include records that are visible to a user.
Method Details
scopeWhereVisibleTo()
public
méthode
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