Overview

Namespaces

  • momentphp
    • exceptions
    • interfaces
    • middlewares
    • providers
    • traits
  • None

Interfaces

  • ViewEngineInterface
  • Overview
  • Namespace
  • Class

Interface ViewEngineInterface

ViewEngineInterface

Direct known implementers

momentphp\SmartyViewEngine, momentphp\TwigViewEngine
Namespace: momentphp\interfaces
Located at interfaces/ViewEngineInterface.php
Methods summary
public string
# render( string $template, array $data = [], string|null $bundle = null )

Render template content

Render template content

Parameters

$template
$data
$bundle

Returns

string
public boolean
# exists( string $template, string|null $bundle = null )

Check if given template exists

Check if given template exists

Parameters

$template
$bundle

Returns

boolean
MomentPHP API documentation generated by ApiGen