NaifyView\Artifact\UnimplementedArtifact クラス

implements NaifyView\Artifact\ArtifactInterface

UnimplementedArtifact — render artifact の contract / value object

Engine と compiler の間で、実行可能な template artifact を受け渡すための型。 アプリ側へ露出させず、render pipeline 内の責務境界として使う。

使用例

// Engine / compiler が render 済み artifact として扱う。
// アプリ側は通常 NaifyView::create($config)->render() 経由で受け取る。

プロパティ

名前型説明
private $template string
private $resolvedPath string
private $parserDialect ?string

メソッド

メソッド説明
public __construct(string $template, string $resolvedPath, ?string $parserDialect): void インスタンスを初期化する
public getTemplate(): string `getTemplate()` の値を返す
public execute(array $context = '...'): string artifact を実行する