*/ abstract public static function modules(): array; /** Who answers for the result of the area (we, unless the template hands it to the portal). */ public static function responsibility(): Responsibility { return Responsibility::Landlord; } /** * The portal capability that must hold for the template to fit: capability key => required value (the channel's * confirmed capabilities decide; an unknown one is a hint, never taken as proven). * * @return array */ public static function capabilityRequirements(): array { return []; } /** * Results of the process this template needs (provided by the base process or another template). * * @return list */ public static function requires(): array { return []; } /** * Results this template provides. The result of its area is always among them. * * @return list */ public static function provides(): array { return [static::area()->result()]; } /** * Standard configuration the template suggests (setting key => value). It sits below every level the landlord can set * – landlord, property, channel – so it never overrides an explicit value, and every module stays configurable. * * @return array */ public static function defaults(): array { return []; } /** * Modules outside the template's own slot that its defaults or fixes configure (shown with the template). * * @return list */ public static function configures(): array { return []; } /** * Templates (keys) that must not be combined with this one, with the reason. * * @return array */ public static function incompatibleWith(): array { return []; } /** * What the template stands for along the business dimensions of its area (shown in the configurator): * dimension label => statement. * * @return array */ public static function dimensions(): array { return []; } /** * Capabilities that are not built yet; they appear as extensions, never as promises. * * @return list */ public static function extensions(): array { return []; } /** * The settings the template fixes for the cases that follow it (setting key => value). * * @return array */ public static function fixes(): array { return [static::area()->setting()->value => static::responsibility()->value]; } public static function reference(): string { return static::key().'@'.static::version(); } }