protected function getPlaceholderFromArray(array $properties)
    {
        if (isset($properties['placeholder']) && !empty($properties['placeholder'])) {
            if (is_array($properties['placeholder'])) {
                //At this point we know this the label
                return $this->getLabelsFromArray($properties['placeholder']);
            }

            return [
                new Label($properties['placeholder'], $this->localeGroup, true, $this->defaultLang),
            ];
        }

        return [];
    }
protected function getPlaceholderFromArray(array $properties)
    {
        if (isset($properties['placeholder']) && !empty($properties['placeholder'])) {
            if (is_array($properties['placeholder'])) {
                //At this point we know this the label
                return $this->getLabelsFromArray($properties['placeholder']);
            }

            return [
                new Label($properties['placeholder'], $this->localeGroup, true, $this->defaultLang),
            ];
        }

        return [];
    }
protected function getPlaceholderFromArray ( array $ properties ) { if ( isset ( $ properties [ 'placeholder' ] ) && ! empty ( $ properties [ 'placeholder' ] ) ) { if ( is_array ( $ properties [ 'placeholder' ] ) ) { //At this point we know this the label return $ this -> getLabelsFromArray ( $ properties [ 'placeholder' ] ) ; } return [ new Label ( $ properties [ 'placeholder' ] , $ this -> localeGroup , true , $ this -> defaultLang ) , ] ; } return [ ] ; }
It will get the provided labels for the placeholder

@param array $properties

@return array
It will get the provided labels for the placeholder