main/core/Manager/Resource/MaskManager.php
public function removeMask(ResourceType $resourceType, $name)
    {
        $toRemove = $this->getDecoder($resourceType, $name);
        if (!empty($toRemove)) {
            $this->om->remove($toRemove);
        }
    }
public function removeMask(ResourceType $resourceType, $name)
    {
        $toRemove = $this->getDecoder($resourceType, $name);
        if (!empty($toRemove)) {
            $this->om->remove($toRemove);
        }
    }
public function removeMask ( ResourceType $ resourceType , $ name ) { $ toRemove = $ this -> getDecoder ( $ resourceType , $ name ) ; if ( ! empty ( $ toRemove ) ) { $ this -> om -> remove ( $ toRemove ) ; } }
Retrieves and removes a mask decoder.

@param ResourceType $resourceType
@param string       $name
Retrieves and removes a mask decoder .