src/Translator.php
public function withLabels(array $labels = []): Translator
    {
        $labels = array_merge($this->labels, $labels);

        return new Translator($labels, $this->templates);
    }
public function withLabels(array $labels = []): Translator
    {
        $labels = array_merge($this->labels, $labels);

        return new Translator($labels, $this->templates);
    }
public function withLabels ( array $ labels = [ ] ) : Translator { $ labels = array_merge ( $ this -> labels , $ labels ) ; return new Translator ( $ labels , $ this -> templates ) ; }
Return a new translator with an additional list of labels.

@param array $labels
@return \Ellipse\Validation\Translator
Return a new translator with an additional list of labels .