protected function getMergedWriteParams($params = [])
    {
        $defaults = [
            'background' => false,
            'color'      => false,
            'bold'       => false,
            'underline'  => false,
        ];

        return array_merge($defaults, $params);
    }