Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Neos
Media
Domain
Strategy
AbstractAssetUsageStrategy
isInUse
Neos\Media\Domain\Strategy\AbstractAssetUsageStrategy::isInUse PHP Method
AbstractAssetUsageStrategy Class Documentation
Datei anzeigen
Open project: neos/neos-development-collection
isInUse()
public
method
Returns true if the asset is used.
public
isInUse
(
Neos\Media\Domain\Model\AssetInterface
$asset
) :
boolean
$asset
Neos\Media\Domain\Model\AssetInterface
return
boolean
public function isInUse(AssetInterface $asset) { return $this->getUsageReferences($asset) !== []; }
AbstractAssetUsageStrategy
getUsageCount
isInUse