Ferreteria/v0.6/clade/IO/Aspect
< Ferreteria | v0.6 | clade | IO
Jump to navigation
Jump to search
| ||||||||||||
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;
}