Ferreteria/v0.6/clade/IO/Aspect: Difference between revisions
< Ferreteria | v0.6 | clade | IO
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{page/clade/v2 | {{page/clade/v2 | ||
|fam= | |fam= | ||
{{!}} align=right {{!}} {{l/ver/clade|Aux|StandardBase}} | {{!}} align=right {{!}} <code>{{l/ver/clade|Aux|StandardBase}}</code> | ||
{{!}} align=center {{!}} & | {{!}} align=center {{!}} ⇒ <code>{{l/ver/clade|IO|Aspect}}</code> ⇒ | ||
{{!}} align=left {{!}} | {{!}} align=left {{!}} | ||
<code>{{l/ver/clade/full|IO\Aspect|Connx}}</code><br> | |||
<code>{{l/ver/clade/full|IO\Aspect|Creds}}</code><br> | |||
<code>{{l/ver/clade/full|IO\Aspect|Host}}</code><br> | |||
<code>{{l/ver/clade/full|IO\Aspect|Socket}}</code><br> | |||
<code>{{l/ver/clade/full|Sys/Data/Engine|Ops}}</code> | |||
|alia= | |alia= | ||
{{!-!}} '''Base*''' [c,i] {{!!}} {{l/ver/clade|Aux|StandardBase}} | {{!-!}} '''Base*''' [c,i] {{!!}} <code>{{l/ver/clade|Aux|StandardBase}}</code> | ||
}} | }} | ||
==About== | |||
* '''Purpose''': probably unnecessary abstraction of a piece of an I/O connection | |||
==History== | |||
* '''{{fmt/date|2025|05|27}}''' created | |||
==Functions== | ==Functions== | ||
* <code>{{l/ver/fx|DescribeInline}}()</code>: not always needed by podling classes, so stubbed off here as a method-prompt (<code>{{l/ver/fx|PromptForMethod}}()</code>) | * <code>{{l/ver/fx|DescribeInline}}()</code>: not always needed by podling classes, so stubbed off here as a method-prompt (<code>{{l/ver/fx|PromptForMethod}}()</code>) | ||
==Code== | ==Code== | ||
''as of 2025 | ''as of {{fmt/date|2025|10|22}}:'' | ||
{{fmt/php/block|1= | {{fmt/php/block|1= | ||
interface iAspect extends BaseIface { | interface iAspect extends BaseIface { | ||
Latest revision as of 03:02, 26 November 2025
| ||||||||||||||
About
- Purpose: probably unnecessary abstraction of a piece of an I/O connection
History
Functions
DescribeInline(): not always needed by podling classes, so stubbed off here as a method-prompt (PromptForMethod())
Code
interface iAspect extends BaseIface {
// UI
function DescribeInline() : string;
}
trait tAspect { // IMPLEMENTS iAspect
// PROMPT
public function DescribeInline() : string { return self::PromptForMethod(); } // sometimes not needed
}
abstract class caAspect extends BaseClass implements iAspect {
use tAspect;
}