Table of Contents

AdminActionCommand

Layer: Handler · Source: lib/handler/AdminActionCommand.php:13 (lines 13–28)


interface AdminActionCommand

Contract for admin action commands.

Each concrete command encapsulates the logic for a single admin CRUD action (create, edit, delete, list).

Inheritance

No parent, interface or trait. This is a root type.

Constants (0)

None.

Properties (0)

None declared.

Methods (1)

Visibility Method Summary Line
public execute() Execute the command with the given context. 27

execute()

public function execute(array $context): void

line 27

Execute the command with the given context.

Context array typically contains: \ - 'app': AppContext instance \ - 'id': entity identifier (int) \ - '{resource}Dao': resource-specific DAO \ - '{resource}Controller': resource-specific controller

Parameter Type Default Description
$context array required none

Returns: void — void


This page is generated from source by 'tools/gendoc'. Edits will be overwritten.