Neos\Media\Domain\Repository\AssetRepository::removeWithoutUsageChecks PHP Method

removeWithoutUsageChecks() public method

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
return void
    public function removeWithoutUsageChecks($object)
    {
        parent::remove($object);
        $this->assetService->emitAssetRemoved($object);
    }