for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Josepostiga\DockerRegistry\Objects;
final class Manifest
{
/**
* Schema version.
*
* @var int
*/
private $schema;
* Image name.
* @var string
private $name;
* Tag name.
private $tag;
* Architecture used.
private $architecture;
* Layers that make the tagged image.
* @var array
private $layers;
* List of changes made.
private $history;
* List of signatures.
private $signatures;
* Manifest constructor.
* @param int $schema
* @param string $name
* @param string $tag
* @param string $architecture
* @param array $layers
* @param array $history
* @param array $signatures
public function __construct(int $schema, string $name, string $tag, string $architecture, array $layers, array $history, array $signatures)
$this->schema = $schema;
$this->name = $name;
$this->tag = $tag;
$this->architecture = $architecture;
$this->layers = $layers;
$this->history = $history;
$this->signatures = $signatures;
}
* Gets the schema.
* @return int
public function getSchema(): int
return $this->schema;
* Gets the image name.
* @return string
public function getName(): string
return $this->name;
* Gets the tag.
public function getTag(): string
return $this->tag;
* Gets the architecture.
public function getArchitecture(): string
return $this->architecture;
* Gets the layers.
* @return array
public function getLayers(): array
return $this->layers;
* Gets the history of changes.
public function getHistory(): array
return $this->history;
* Gets the signatures.
public function getSignatures(): array
return $this->signatures;