original_string: public function shortcodeTranslate(Event $event, array $atts, $content, $tag)
      {
          if (!empty($atts['domain'])) {
              return __d($atts['domain'], $content);
          } else {
              return __($content);
          }
      }
code: public function shortcodeTranslate(Event $event, array $atts, $content, $tag)
      {
          if (!empty($atts['domain'])) {
              return __d($atts['domain'], $content);
          } else {
              return __($content);
          }
      }
code_tokens: public function shortcodeTranslate ( Event $ event , array $ atts , $ content , $ tag ) { if ( ! empty ( $ atts [ 'domain' ] ) ) { return __d ( $ atts [ 'domain' ] , $ content ) ; } else { return __ ( $ content ) ; } }
docstring: Implements the "t" shortcode.
  
  {t}Text for translate{/t}
  
  @param \Cake\Event\Event $event The event that was fired
  @param array $atts An associative array of attributes, or an empty string if
  no attributes are given
  @param string $content The enclosed content (if the shortcode is used in its
  enclosing form)
  @param string $tag The shortcode tag
  @return string
docstring_tokens: Implements the t shortcode .