protected static function get_filename($evaluation) {

        if ($evaluation === true) {
            $filename = self::EVALUATION_FILENAME;
        } else {
            // Incremental time, the lock will make sure we don't have concurrency problems.
            $filename = microtime(true) . '.csv';
        }

        return $filename;
    }
protected static function get_filename($evaluation) {

        if ($evaluation === true) {
            $filename = self::EVALUATION_FILENAME;
        } else {
            // Incremental time, the lock will make sure we don't have concurrency problems.
            $filename = microtime(true) . '.csv';
        }

        return $filename;
    }
protected static function get_filename ( $ evaluation ) { if ( $ evaluation === true ) { $ filename = self :: EVALUATION_FILENAME ; } else { // Incremental time, the lock will make sure we don't have concurrency problems. $ filename = microtime ( true ) . '.csv' ; } return $ filename ; }
Returns the file name to be used.

@param strinbool $evaluation
@return string
Returns the file name to be used .