protected function setLabels()
    {
        if ($this->data['labels.overrides']) {
            $this->labels = array_replace($this->labels, $this->data['labels.overrides']);
        }
    }
protected function setLabels()
    {
        if ($this->data['labels.overrides']) {
            $this->labels = array_replace($this->labels, $this->data['labels.overrides']);
        }
    }
protected function setLabels ( ) { if ( $ this -> data [ 'labels.overrides' ] ) { $ this -> labels = array_replace ( $ this -> labels , $ this -> data [ 'labels.overrides' ] ) ; } }
Set label overrides

If key labels.overrides exists, add to or replace label defaults
Set label overrides