private function writeFile($path, $data)
    {
        if (false === @file_put_contents($path, $data)) {
            throw new DumperException(sprintf('Unable to write file "%s"', $path));
        }
    }
private function writeFile($path, $data)
    {
        if (false === @file_put_contents($path, $data)) {
            throw new DumperException(sprintf('Unable to write file "%s"', $path));
        }
    }
private function writeFile ( $ path , $ data ) { if ( false === @ file_put_contents ( $ path , $ data ) ) { throw new DumperException ( sprintf ( 'Unable to write file "%s"' , $ path ) ) ; } }
Write file.

@param string $path
@param string $data

@throws DumperException
Write file .