Copied!

AssetService

AssetService.php : 16

Methods

publicget()

AssetService.php : 20
public get(AssetIdentifier $identifier, AssetSource $source) : Asset

Parameters

Name Type Default value Description
$identifier AssetIdentifier - -
$source AssetSource - -

Return values

Asset

AssetService.php : 18
public search(Query $query, AssetSource $assetSource[, int $offset = 0 ][, int $limit = 20 ]) : AssetSearchResult

Parameters

Name Type Default value Description
$query Query - -
$assetSource AssetSource - -
$offset int 0 -
$limit int 20 -

Return values

AssetSearchResult

publictransform()

AssetService.php : 22
public transform(Asset $asset, Transformation $transformation) : AssetVariation

Parameters

Name Type Default value Description
$asset Asset - -
$transformation Transformation - -

Return values

AssetVariation