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
コード例 #1
0
 /**
  * Returns true if the asset is still in use.
  *
  * @return boolean
  * @api
  */
 public function isInUse()
 {
     return $this->assetService->isInUse($this);
 }