Ferreteria/v0.6/fx/ActionClass: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
(Created page with "{{page/fx}} ==About== * '''Purpose''': sets the {{l/ver/clade|Sys/Events/ItWent|CommOp}} class for <code>{{l/ver/fx|DoCommand}}()</code> to return * '''Definition''': <code>{{fmt/php/inline|1=public function ActionClass() : string}}</code> ==Status== * '''{{fmt/date|2025|10|31}}''' It feels like this could be generalized/regularized a bit more, and terminology made more consistent. ==Usage== {| class="wikitable sortable" ! clade || type || notes |- | rowspan=3 | {{l/ver/...") |
(No difference)
|
Revision as of 02:01, 1 November 2025
|
fx:
ActionClass() |
About
- Purpose: sets the CommOp class for
DoCommand()to return - Definition:
public function ActionClass() : string
Status
- 2025-10-31 It feels like this could be generalized/regularized a bit more, and terminology made more consistent.
Usage
| clade | type | notes |
|---|---|---|
| IO\Aspect\Connx\Plug | require | |
| implement | return CommOpClass::class
| |
| call | WrapAction(CommOpClass $oActIn) calls if (is_a($oActIn,$this->ActionClass())) to determine if re-wrapping is needed
| |
| IO\Aspect\Connx\Plug\Shell | call | protected function NewAction() : ActionIface { return new ($this->ActionClass()); }
|
| IO\Connx\Shell | implement | return CommOpClass::class
|
| call | protected function NewAction() : ActionIface { return new ($this->ActionClass()); }
| |
| Sys\Data\Engine\Ops\MyMar\Maria | implement | return Sys\Data\Engine\aux\msgs\Maria\ItWent::class
|
| Sys\Data\Engine\Ops\MyMar\MySQL | implement | return Sys\Data\Engine\aux\msgs\MySQL\ItWent::class
Note: this ItWent has not been defined as of 2025-10-31 |