Neos\Media\Domain\Strategy\AbstractAssetUsageStrategy::getUsageCount PHP 메소드

getUsageCount() 공개 메소드

Returns the total count of usages found.
public getUsageCount ( Neos\Media\Domain\Model\AssetInterface $asset ) : integer
$asset Neos\Media\Domain\Model\AssetInterface
리턴 integer
    public function getUsageCount(AssetInterface $asset)
    {
        return count($this->getUsageReferences($asset));
    }
AbstractAssetUsageStrategy