Ferreteria/v0.6/fx/ActionClass

From Woozle Writes Code
< Ferreteria‎ | v0.6‎ | fx
Revision as of 02:01, 1 November 2025 by Woozle (talk | contribs) (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/...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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