Documentation

SourceMapFileManager
in package

FinalYes

Table of Contents

Methods

get()  : SourceMap
Get the source map from the source map file.
put()  : void
Write the source map to the source map file.

Methods

put()

Write the source map to the source map file.

public put(SourceMapFile $sourceMapFile, SourceMap $sourceMap) : void

The write is performed atomically by writing to a temporary file first and then renaming it into place, so that a process interrupted mid-write can never leave a corrupted source map file behind.

Parameters
$sourceMapFile : SourceMapFile

The source map file

$sourceMap : SourceMap

The source map

On this page

Search results