System\Traits\ElementRenderer

Overview

ElementRenderer Trait

Implements
  • Stringable

Public Methods

public __toString()

public __toString(): string 

public renderAsString()

public renderAsString(): string 

Protected Methods

protected renderBody()

protected renderBody($body): string 

renderBody is a helper for dealing with mixed body types

protected setDefaults()

protected setDefaults(): void