ImageManagerRegistry
in package
Registry for the Image Manager.
Used to manage different versions of the same Service
Table of Contents
- $versions : array<string|int, mixed>
- Array containing the different istances of the service
- get() : ImageManagerAbstraction
- Get the specific version of the Service
Properties
$versions
Array containing the different istances of the service
public
static array<string|int, mixed>
$versions
= ['v1' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Services\Versioned\v1\ImageManager::class, 'latest' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Services\Versioned\v1\ImageManager::class]
Methods
get()
Get the specific version of the Service
public
static get( $version) : ImageManagerAbstraction