protected function setLabels(&$properties)
    {
        $label = $properties['name'];

        if (Helpers::isKeyExists($properties, 'labels')) {
            $label = $properties['labels'];
        }

        $properties['labels'] = $this->getLabels($label, $properties['name']);

        return $this;
    }
protected function setLabels(&$properties)
    {
        $label = $properties['name'];

        if (Helpers::isKeyExists($properties, 'labels')) {
            $label = $properties['labels'];
        }

        $properties['labels'] = $this->getLabels($label, $properties['name']);

        return $this;
    }
protected function setLabels ( & $ properties ) { $ label = $ properties [ 'name' ] ; if ( Helpers :: isKeyExists ( $ properties , 'labels' ) ) { $ label = $ properties [ 'labels' ] ; } $ properties [ 'labels' ] = $ this -> getLabels ( $ label , $ properties [ 'name' ] ) ; return $ this ; }
Sets the labels property

@param array $properties

@return $this
Sets the labels property