|
Bristol SU Support Package
|


Public Member Functions | |
| registerAction (string $class, string $name, string $description) | |
| all () | |
| fromClass (string $class) | |
Protected Attributes | |
| $actions = [] | |
| BristolSU\Support\Action\ActionManager::all | ( | ) |
Return all registered actions.
Implements BristolSU\Support\Action\Contracts\ActionManager.
Definition at line 50 of file ActionManager.php.
References BristolSU\Support\Action\ActionManager\$actions.
| BristolSU\Support\Action\ActionManager::fromClass | ( | string | $class | ) |
Return an action registered with the given class.
| string | $class | Class of the action |
Implements BristolSU\Support\Action\Contracts\ActionManager.
Definition at line 63 of file ActionManager.php.
| BristolSU\Support\Action\ActionManager::registerAction | ( | string | $class, |
| string | $name, | ||
| string | $description | ||
| ) |
Register a new action
| string | $class | Class name of the action. |
| string | $name | A name for the action. |
| string | $description | A description of the action. |
Implements BristolSU\Support\Action\Contracts\ActionManager.
Definition at line 36 of file ActionManager.php.
|
protected |
Definition at line 25 of file ActionManager.php.
Referenced by BristolSU\Support\Action\ActionManager\all().
1.8.13