Neos\Media\Domain\Repository\AssetRepository::removeWithoutUsageChecks PHP Méthode

removeWithoutUsageChecks() public méthode

Remove the asset even if it is still in use. Use with care, it is probably better to first make sure the asset is not used anymore and then use the remove() method for removal.
public removeWithoutUsageChecks ( Neos\Media\Domain\Model\AssetInterface $object ) : void
$object Neos\Media\Domain\Model\AssetInterface
Résultat void
    public function removeWithoutUsageChecks($object)
    {
        parent::remove($object);
        $this->assetService->emitAssetRemoved($object);
    }