$attributes $attributes : \Iqrf\Repository\Entities\OsDpaAttributtes Type OsDpaAttributtes — Attributes
__construct() __construct(string $version, \Iqrf\Repository\Entities\OsDpaAttributtes $attributes, string $downloadPath) : mixed Constructor Parameters string $version DPA version \Iqrf\Repository\Entities\OsDpaAttributtes $attributes Attributes string $downloadPath Download path Returns mixed —
fromArray() fromArray(array<string,string|int> $data) : \Iqrf\Repository\Entities\Dpa Creates a new DPA entity from an array Parameters array $data JSON data in an array Returns \Iqrf\Repository\Entities\Dpa — Created DPA entity
getAttributes() getAttributes() : \Iqrf\Repository\Entities\OsDpaAttributtes Returns DPA version attributes Returns \Iqrf\Repository\Entities\OsDpaAttributtes — DPA version attributes
getDownloadPath() getDownloadPath() : string Returns the download path Returns string — Download path
getVersion() getVersion(bool $pretty = false) : string Returns the DPA version Parameters bool $pretty Pretty formatting Returns string — DPA version
jsonSerialize() jsonSerialize() : array<string,string|array<string,bool|null>> Serialized the DPA entity into JSON Returns array> — JSON serialized DPA entity