MetaFox

IsBitwiseFlagInterface
in

Table of Contents

Methods

getAbilities()  : array<string|int, mixed>
Define bitwise abilities. Example: [ 'can_comment' => 1, 'can_like' => 2].
getFlagName()  : string
Define database column to storage bitwise value.

Methods

getAbilities()

Define bitwise abilities. Example: [ 'can_comment' => 1, 'can_like' => 2].

public getAbilities() : array<string|int, mixed>
Return values
array<string|int, mixed>

getFlagName()

Define database column to storage bitwise value.

public getFlagName() : string
Return values
string

        
On this page

Search results