public function saveMap($content)
    {
        $asset_handler = Requirements::backend()->getAssetHandler();

        $css_file = $this->options['sourceMapWriteTo'];
        $asset_handler->setContent($css_file, $content);
        $url = $asset_handler->getContentURL($css_file);

        $this->options['sourceMapURL'] = $url;
        return $this->options['sourceMapURL'];
    }
public function saveMap($content)
    {
        $asset_handler = Requirements::backend()->getAssetHandler();

        $css_file = $this->options['sourceMapWriteTo'];
        $asset_handler->setContent($css_file, $content);
        $url = $asset_handler->getContentURL($css_file);

        $this->options['sourceMapURL'] = $url;
        return $this->options['sourceMapURL'];
    }
public function saveMap ( $ content ) { $ asset_handler = Requirements :: backend ( ) -> getAssetHandler ( ) ; $ css_file = $ this -> options [ 'sourceMapWriteTo' ] ; $ asset_handler -> setContent ( $ css_file , $ content ) ; $ url = $ asset_handler -> getContentURL ( $ css_file ) ; $ this -> options [ 'sourceMapURL' ] = $ url ; return $ this -> options [ 'sourceMapURL' ] ; }
Saves the source map to a file

@param string $content The content to write

@return string URL to saved file
Saves the source map to a file