Copied!

ContentSessionScope

ContentSessionScope.php : 13
Final

Constants

publicEDIT

ContentSessionScope.php : 16
public mixed EDIT = 'edit'

publicVIEW

ContentSessionScope.php : 15
public mixed VIEW = 'view'

Methods

publicgetDefaultScope()

ContentSessionScope.php : 18
public getDefaultScope() : string

Return values

string

publicgetScopes()

ContentSessionScope.php : 28
public getScopes() : array<string|int, string>

Return values

array<string|int, string>

publicisValidScope()

ContentSessionScope.php : 23
public isValidScope(string $scope) : bool

Parameters

Name Type Default value Description
$scope string - -

Return values

bool