protected function getLabelHelper()
    {
        if ($this->labelHelper) {
            return $this->labelHelper;
        }

        if (method_exists($this->view, 'plugin')) {
            $this->labelHelper = $this->view->plugin('form_label');
        }

        if (!$this->labelHelper instanceof FormLabel) {
            $this->labelHelper = new FormLabel();
        }

        if ($this->hasTranslator()) {
            $this->labelHelper->setTranslator(
                $this->getTranslator(),
                $this->getTranslatorTextDomain()
            );
        }

        return $this->labelHelper;
    }
protected function getLabelHelper()
    {
        if ($this->labelHelper) {
            return $this->labelHelper;
        }

        if (method_exists($this->view, 'plugin')) {
            $this->labelHelper = $this->view->plugin('form_label');
        }

        if (!$this->labelHelper instanceof FormLabel) {
            $this->labelHelper = new FormLabel();
        }

        if ($this->hasTranslator()) {
            $this->labelHelper->setTranslator(
                $this->getTranslator(),
                $this->getTranslatorTextDomain()
            );
        }

        return $this->labelHelper;
    }
protected function getLabelHelper ( ) { if ( $ this -> labelHelper ) { return $ this -> labelHelper ; } if ( method_exists ( $ this -> view , 'plugin' ) ) { $ this -> labelHelper = $ this -> view -> plugin ( 'form_label' ) ; } if ( ! $ this -> labelHelper instanceof FormLabel ) { $ this -> labelHelper = new FormLabel ( ) ; } if ( $ this -> hasTranslator ( ) ) { $ this -> labelHelper -> setTranslator ( $ this -> getTranslator ( ) , $ this -> getTranslatorTextDomain ( ) ) ; } return $ this -> labelHelper ; }
Retrieve the FormLabel helper

@return FormLabel
Retrieve the FormLabel helper