Method | Description | |
---|---|---|
getUsageCount ( Neos\Media\Domain\Model\AssetInterface $asset ) : integer | Returns the total count of usages found. | |
getUsageReferences ( Neos\Media\Domain\Model\AssetInterface $asset ) : array<\Neos\Media\Domain\Model\Dto\UsageReference> | Returns an array of usage reference objects. | |
isInUse ( Neos\Media\Domain\Model\AssetInterface $asset ) : boolean | Returns true if the asset is used. |
public getUsageCount ( Neos\Media\Domain\Model\AssetInterface $asset ) : integer | ||
$asset | Neos\Media\Domain\Model\AssetInterface | |
return | integer |
public getUsageReferences ( Neos\Media\Domain\Model\AssetInterface $asset ) : array<\Neos\Media\Domain\Model\Dto\UsageReference> | ||
$asset | Neos\Media\Domain\Model\AssetInterface | |
return | array<\Neos\Media\Domain\Model\Dto\UsageReference> |