function provideShadowDOM ()
  {
    return $this->shadowDOM
      ?: (
      $this->view && $this->view->getEngine () instanceof MatisseEngine
        ? $this->view->getCompiled ()
        : null // Shadow DOMs are only available for Matisse templates.
      );
  }
function provideShadowDOM ()
  {
    return $this->shadowDOM
      ?: (
      $this->view && $this->view->getEngine () instanceof MatisseEngine
        ? $this->view->getCompiled ()
        : null // Shadow DOMs are only available for Matisse templates.
      );
  }
function provideShadowDOM ( ) { return $ this -> shadowDOM ? : ( $ this -> view && $ this -> view -> getEngine ( ) instanceof MatisseEngine ? $ this -> view -> getCompiled ( ) : null // Shadow DOMs are only available for Matisse templates. ) ; }
When the component's view is a matisse template, this returns the root of the parsed template, otherwise it returns
`null`.

<p>Subclasses may override this to return a shadowDOM other than the component's default one.

> <p>This is also used by {@see ComponentInspector} for inspecting a composite component's children.

@return Component|null A {@see DocumentFragment}, but it may also be any other component type.
When the component s view is a matisse template this returns the root of the parsed template otherwise it returns null .