original_string: protected function _addTemplates(FormHelper $formHelper)
      {
          if (!static::cache('bootstrapTemplates')) {
              $formHelper->templates($this->_templates);
              static::cache('bootstrapTemplates', true);
          }
      }
code: protected function _addTemplates(FormHelper $formHelper)
      {
          if (!static::cache('bootstrapTemplates')) {
              $formHelper->templates($this->_templates);
              static::cache('bootstrapTemplates', true);
          }
      }
code_tokens: protected function _addTemplates ( FormHelper $ formHelper ) { if ( ! static :: cache ( 'bootstrapTemplates' ) ) { $ formHelper -> templates ( $ this -> _templates ) ; static :: cache ( 'bootstrapTemplates' , true ) ; } }
docstring: Add custom set of templates to FormHelper.
  
  @param \Cake\View\Helper\FormHelper $formHelper Instance of FormHelper
  @return void
docstring_tokens: Add custom set of templates to FormHelper .