src/Reporter/Coverage/Exporter/Clover.php
public static function write($options)
    {
        $defaults = [
            'file' => null
        ];
        $options += $defaults;

        if (!$options['file']) {
            throw new RuntimeException("Missing file name");
        }

        return file_put_contents($options['file'], static::export($options));
    }
public static function write($options)
    {
        $defaults = [
            'file' => null
        ];
        $options += $defaults;

        if (!$options['file']) {
            throw new RuntimeException("Missing file name");
        }

        return file_put_contents($options['file'], static::export($options));
    }
public static function write ( $ options ) { $ defaults = [ 'file' => null ] ; $ options += $ defaults ; if ( ! $ options [ 'file' ] ) { throw new RuntimeException ( "Missing file name" ) ; } return file_put_contents ( $ options [ 'file' ] , static :: export ( $ options ) ) ; }
Writes a coverage to an ouput file.

@param  array   $options The option where the possible values are:
-`'file'` _string_: The output file name.
@return boolean
Writes a coverage to an ouput file .