Copied!

AssetServiceInterface

AssetServiceInterface.php : 15
Interface

Methods

publicfindAssets()

AssetServiceInterface.php : 20
public findAssets(ProductInterface $product[, bool $onlyAvailable = false ]) : AssetCollectionInterface

Parameters

Name Type Default value Description
$product ProductInterface - -
$onlyAvailable bool false -

Return values

AssetCollectionInterface

Tags
Throws
UnauthorizedException

publicgetAsset()

AssetServiceInterface.php : 26
public getAsset(ProductInterface $product, string $identifier) : AssetInterface

Parameters

Name Type Default value Description
$product ProductInterface - -
$identifier string - -

Return values

AssetInterface

Tags
Throws
NotFoundException
Throws
UnauthorizedException