Ferreteria/v0.6/fx/FromParams: Difference between revisions
< Ferreteria | v0.6 | fx
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
As of 2025-10-07, it looks like the only call to this (in {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin\ToDbOper|EngDbExport}}) is incorrect and therefore errors out. Trying to figure out what is ''supposed'' to be called... | As of 2025-10-07, it looks like the only call to this (in {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin\ToDbOper|EngDbExport}}) is incorrect and therefore errors out. Trying to figure out what is ''supposed'' to be called... | ||
* It's currently trying to call {{l/ver/clade|Sys\dba\InReq\DoExport|Schema}}::FromParams(), which doesn't exist. | |||
* It's expecting to initialize an object with a {{l/ver/fx|Go}}() function... | |||
==Defined== | ==Defined== | ||
* {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin|ToSchema}}::{{l/ver/fx|FromParams}}( | * {{l/ver/clade|Sys\Data\Engine\aux\ActionRq\Admin|ToSchema}}::{{l/ver/fx|FromParams}}( | ||
Revision as of 00:20, 8 October 2025
|
fx:
FromParams() |
About
This function is a named constructor for creating an object with specific parameters.
As of 2025-10-07, it looks like the only call to this (in EngDbExport) is incorrect and therefore errors out. Trying to figure out what is supposed to be called...
- It's currently trying to call Schema::FromParams(), which doesn't exist.
- It's expecting to initialize an object with a Go() function...
Defined
- ToSchema::FromParams(
- SchemaIface $o,
- DataNodeIface $of,
?bool $doReplace=FALSE- );