public function removeMapping(ImsManifestMapping $mapping)
    {
        $mappings = $this->getMappings();

        if (($key = array_search($mapping, $mappings, true)) !== false) {
            unset($mappings[$key]);
        }
    }