Copied!

AssetServiceInterface

AssetServiceInterface.php : 15

Methods

publicfindAssets()

AssetServiceInterface.php : 20
public findAssets(ProductInterface $product) : AssetCollectionInterface

Parameters

Name Type Default value Description
$product ProductInterface - -

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