ActionType
extends Facade
Table of Contents
Methods
-
createActionTypesData()
: array<string|int, mixed>
-
getActionType()
: ActionType|null
-
getActionTypeOptions()
: array<string|int, mixed>
-
migrateTransactionExistPointSetting()
: void
-
migrateTransactionNotExistPointSetting()
: void
-
setupActionTypesInterpolateFromTransaction()
: void
-
setupCustomActionTypes()
: void
-
setupDefaultActionTypes()
: void
-
getFacadeAccessor()
: string
createActionTypesData()
public
static createActionTypesData(string $packageId, mixed $resource, array<string|int, mixed> $actions) : array<string|int, mixed>
Parameters
-
$packageId
: string
-
-
$resource
: mixed
-
-
$actions
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
getActionType()
public
static getActionType(Entity $resource, string $action) : ActionType|null
Parameters
-
$resource
: Entity
-
-
$action
: string
-
getActionTypeOptions()
public
static getActionTypeOptions() : array<string|int, mixed>
Return values
array<string|int, mixed>
migrateTransactionExistPointSetting()
public
static migrateTransactionExistPointSetting(string|null $packageId = null) : void
Parameters
-
$packageId = null
: string|null
-
migrateTransactionNotExistPointSetting()
public
static migrateTransactionNotExistPointSetting(string|null $packageId = null) : void
Parameters
-
$packageId = null
: string|null
-
setupActionTypesInterpolateFromTransaction()
public
static setupActionTypesInterpolateFromTransaction(string|null $packageId = null) : void
Parameters
-
$packageId = null
: string|null
-
setupCustomActionTypes()
public
static setupCustomActionTypes(string|null $packageId = null) : void
Parameters
-
$packageId = null
: string|null
-
setupDefaultActionTypes()
public
static setupDefaultActionTypes(string|null $packageId = null) : void
Parameters
-
$packageId = null
: string|null
-
getFacadeAccessor()
protected
static getFacadeAccessor() : string