• PHP reference
  • Core
  • View

View

class Core\View\View

Class View.

Methods

__construct(EngineInterface $engine, string $template)

View constructor.

Parameters

static View factory(EngineInterface $engine, string $template)

View factory.

Parameters

Return Value

View with(string|array $key, mixed $value = null)

Parameters

  • string|array $key
  • mixed $value

Return Value

View helpers(HelperManager $helper_manager)

Parameters

Return Value

View options(string|array $key, mixed $value = null)

Parameters

  • string|array $key
  • mixed $value

Return Value

string render()

Return Value

  • string

string __toString()

Return Value

  • string