ICanBoogie/bind-render 0.6.x
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Binding
      • Render

Classes

  • ApplicationTemplateResolver
  • Hooks

Traits

  • ApplicationBindings

Class ApplicationTemplateResolver

Decorates a template resolver and adds support for the application paths.

ICanBoogie\Binding\Render\ApplicationTemplateResolver implements ICanBoogie\Render\TemplateResolverDecorator uses ICanBoogie\Render\TemplateResolverTrait (not available) ICanBoogie\Render\TemplateResolverDecoratorTrait (not available)
Namespace: ICanBoogie\Binding\Render
Located at ApplicationTemplateResolver.php

Methods summary

public
# __construct( ICanBoogie\Render\TemplateResolver $template_resolver, array $paths )

Parameters

$template_resolver
$paths
Application paths.
public
# resolve( $name, array $extensions, & $tried = [] )

Inheritdoc

protected string|null
# resolve_from_app( string $name, array $extensions, array & $tried )

Resolves a template name from the application paths.

Resolves a template name from the application paths.

Parameters

$name
$extensions
$tried

Returns

string|null
protected array
# expend_paths( array $paths )

Expends application paths into template paths.

Expends application paths into template paths.

Note: Paths that do not have a "templates" directory are discarded.

Parameters

$paths

Returns

array
ICanBoogie/bind-render 0.6.x API documentation generated by ApiGen