ICanBoogie
  • Documentation
  • API Reference
  • Render v0.4.2
Namespaces
  • ICanBoogie
    • Render
      • EngineCollection
      • Renderer
      • TemplateResolver
Classes
  • BasicTemplateResolver
  • EngineCollection
  • EngineNotAvailable
  • EngineNotDefined
  • PHPEngine
  • Renderer
  • TemplateName
Interfaces
  • Engine
  • Exception
  • TemplateResolver
Traits
  • TemplateResolverTrait
Exceptions
  • TemplateNotFound
Functions
  • get_engines
  • get_renderer
  • get_template_resolver

Class PHPEngine

Renders PHP templates.

ICanBoogie\Render\PHPEngine implements ICanBoogie\Render\Engine
Namespace: ICanBoogie\Render
Package: ICanBoogie\Render
Located at PHPEngine.php

Methods summary

public render( string $template_pathname, mixed $thisArg, array $variables, array $options = [] ) : mixed

Parameters

$template_pathname
Pathname to the template to render.
$thisArg
thisArg, if supported by the engine.
$variables
Variable to render the template with.
$options
Miscellaneous options.

Returns

mixed

Inheritdoc

Implementation of

ICanBoogie\Render\Engine::render()

Constants summary

Constants inherited from ICanBoogie\Render\Engine

VAR_TEMPLATE_PATHNAME

Render v0.4.2 – Check on GitHub – API documentation generated by ApiGen