PHP Class Neos\Media\Domain\Strategy\AbstractAssetUsageStrategy

Inheritance: implements Neos\Media\Domain\Strategy\AssetUsageStrategyInterface
Afficher le fichier Open project: neos/neos-development-collection

Méthodes publiques

Méthode Description
getUsageCount ( Neos\Media\Domain\Model\AssetInterface $asset ) : integer Returns the total count of usages found.
isInUse ( Neos\Media\Domain\Model\AssetInterface $asset ) : boolean Returns true if the asset is used.

Method Details

getUsageCount() public méthode

Returns the total count of usages found.
public getUsageCount ( Neos\Media\Domain\Model\AssetInterface $asset ) : integer
$asset Neos\Media\Domain\Model\AssetInterface
Résultat integer

isInUse() public méthode

Returns true if the asset is used.
public isInUse ( Neos\Media\Domain\Model\AssetInterface $asset ) : boolean
$asset Neos\Media\Domain\Model\AssetInterface
Résultat boolean