You are here

public function MarkdownBenchmarkAverages::render in Markdown 3.0.x

Renders the object as a string.

Return value

string|object The rendered string or an object implementing __toString().

Overrides ToStringTrait::render

File

src/MarkdownBenchmarkAverages.php, line 305

Class

MarkdownBenchmarkAverages
Class MarkdownBenchmarkAverages.

Namespace

Drupal\markdown

Code

public function render($type = 'total') {
  $build = $this
    ->build($type);
  return $this
    ->renderer()
    ->renderPlain($build);
}