original_string: public function getMainContentClasses(array $additionalClasses = null): string
      {
          $classes = ['controller'];
          if (!empty($additionalClasses)) {
              $classes = Hash::merge($classes, $additionalClasses);
          }
          $classes[] = Inflector::underscore($this->_View->request->controller) . '-' . Inflector::underscore($this->_View->request->action);
  
          return h(implode(' ', $classes));
      }
code: public function getMainContentClasses(array $additionalClasses = null): string
      {
          $classes = ['controller'];
          if (!empty($additionalClasses)) {
              $classes = Hash::merge($classes, $additionalClasses);
          }
          $classes[] = Inflector::underscore($this->_View->request->controller) . '-' . Inflector::underscore($this->_View->request->action);
  
          return h(implode(' ', $classes));
      }
code_tokens: public function getMainContentClasses ( array $ additionalClasses = null ) : string { $ classes = [ 'controller' ] ; if ( ! empty ( $ additionalClasses ) ) { $ classes = Hash :: merge ( $ classes , $ additionalClasses ) ; } $ classes [ ] = Inflector :: underscore ( $ this -> _View -> request -> controller ) . '-' . Inflector :: underscore ( $ this -> _View -> request -> action ) ; return h ( implode ( ' ' , $ classes ) ) ; }
docstring: Constructs the classes for the element that represents the frontend controller's DOM
  reference.
  
  @param array $additionalClasses optional classes to add
  @return string
docstring_tokens: Constructs the classes for the element that represents the frontend controller s DOM reference .