protected function setLabelsProperty(array $properties)
    {
        $labels = $this->getLabelsFromProperties($properties);

        foreach ($labels as $label) {
            $this->addLabel($label->text, $label->isPlain, $label->lang);
        }

        return $this;
    }
protected function setLabelsProperty(array $properties)
    {
        $labels = $this->getLabelsFromProperties($properties);

        foreach ($labels as $label) {
            $this->addLabel($label->text, $label->isPlain, $label->lang);
        }

        return $this;
    }
protected function setLabelsProperty ( array $ properties ) { $ labels = $ this -> getLabelsFromProperties ( $ properties ) ; foreach ( $ labels as $ label ) { $ this -> addLabel ( $ label -> text , $ label -> isPlain , $ label -> lang ) ; } return $ this ; }
It set the labels property for a given field

@param array $properties

@return $this
It set the labels property for a given field