Skip to content

Internals Package Manifest Service Interface IManifestService

Stefan Crkvenjakov edited this page Oct 7, 2026 · 1 revision

package\manifest\service\interface\IManifestService

Framework Internals · Subsystem overview · Developer guide

Source: awt_src/classes/package/manifest/service/interface/IManifestService.php · Snapshot 8411f4287706.

Package metadata is persisted in awt_package. Manifest readers validate input and package services build installed models; startup executes enabled nonzero-type packages.

Imports and dependencies

use package\dependency\Dependency;
use package\manifest\reader\interfaces\IManifestReader;
use package\model\Package;

IManifestService

Declaration and architectural role

interface IManifestService

Constants, enum cases, traits and properties

Declarations below preserve visibility, type, default and modifiers exactly. A typed property without an initializer remains uninitialized until its constructor or another method assigns it. Mutable fields belong to this instance unless marked static; readonly fields can be initialized once. Constructor-promoted properties are also listed below.

Member Declaration Purpose or source contract
Constructor-promoted public function __construct(IManifestReader $reader) Initialized from the constructor argument; default expression is evaluated when the argument is omitted.

Method index

Method Signature
__construct public function __construct(IManifestReader $reader)
buildPackage public function buildPackage(): Package
buildDependency public function buildDependency(array $data): Dependency

__construct

Source line 9

public function __construct(IManifestReader $reader);

Parameters

Parameter Type, modifiers and default Purpose
$reader IManifestReader $reader Operation input; the exact use, validation and propagation are shown in the implementation trace.

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

buildPackage

Source line 10

public function buildPackage(): Package;

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

buildDependency

Source line 11

public function buildDependency(array $data): Dependency;

Parameters

Parameter Type, modifiers and default Purpose
$data array $data Input data array or payload; see allowed fields and validation guards below.

Contract only: implementations supply the behavior. Parameter and return types are enforced by PHP; caller and implementation constraints follow the subsystem overview.

Related types

Clone this wiki locally