*/ abstract public static function modules(): array; /** Who answers for the result of the area. It becomes the value of the area's responsibility setting. */ abstract public static function responsibility(): Responsibility; /** * 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()]; } /** * 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(); } }