Documentation

SettingType : string
in package
implements ProvidesArrayOfValues

SettingType

Interfaces, Classes, Traits and Enums

ProvidesArrayOfValues

Table of Contents

APP  = 'app'
GLOBAL  = 'global'
MODEL  = 'model'
USER  = 'user'
is()  : bool
Check if this type is same as given type.
isIn()  : bool
Check if this type is in given types.
make()  : static
Make a new instance from given.
values()  : array<string|int, mixed>

Cases

Methods

isIn()

Check if this type is in given types.

public isIn(array<string|int, mixed> $cases) : bool
Parameters
$cases : array<string|int, mixed>
Return values
bool

make()

Make a new instance from given.

public static make([SettingType|string|null $case = null ]) : static
Parameters
$case : SettingType|string|null = null
Return values
static

values()

public static values() : array<string|int, mixed>
Tags
inheritDoc
Return values
array<string|int, mixed>

Search results