Overview

Namespaces

  • Net
    • Bazzline
      • Component
        • Template

Classes

  • AbstractFileBasedTemplate
  • AbstractTemplate
  • CallableComplexFileBasedTemplateManager
  • ComplexFileBasedTemplate
  • ExpressiveTemplateAdapter
  • FileBasedTemplate
  • RuntimeContentBasedTemplate
  • TemplateDumper

Interfaces

  • DelimiterInterface
  • TemplateInterface
  • Overview
  • Namespace
  • Class

Class AbstractFileBasedTemplate

Net\Bazzline\Component\Template\AbstractTemplate implements Net\Bazzline\Component\Template\TemplateInterface
Extended by Net\Bazzline\Component\Template\AbstractFileBasedTemplate

Direct known subclasses

Net\Bazzline\Component\Template\ComplexFileBasedTemplate, Net\Bazzline\Component\Template\FileBasedTemplate

Indirect known subclasses

Net\Bazzline\Component\Template\CallableComplexFileBasedTemplateManager
Abstract
Namespace: Net\Bazzline\Component\Template
Located at AbstractFileBasedTemplate.php
Methods summary
public
# __construct( array $variables = array(), null|string $filePath = null )

Parameters

$variables
$filePath

Throws

InvalidArgumentException
RuntimeException

Overrides

Net\Bazzline\Component\Template\AbstractTemplate::__construct()
public string
# __invoke( array $variables = array(), null $filePath = null )

Parameters

$variables
$filePath

Returns

string

Throws

InvalidArgumentException
RuntimeException

Overrides

Net\Bazzline\Component\Template\AbstractTemplate::__invoke()
public
# setFilePath( string $filePath )

Parameters

$filePath

Throws

InvalidArgumentException
RuntimeException
protected string
# getContent( )

Returns

string

Throws

RuntimeException
protected null|string
# getFilePath( )

Returns

null|string
protected
# throwRuntimeExceptionIfFilePathIsInvalid( string $filePath )

Parameters

$filePath

Throws

RuntimeException
protected
# setFilePathIfProvided( null|string $filePath = null )

Parameters

$filePath

Throws

RuntimeException
Methods inherited from Net\Bazzline\Component\Template\AbstractTemplate
__toString(), assignMany(), assignOne(), getValueByKeyOrNull(), getVariables(), isAssigned(), render(), reset()
PHP Template Component by bazzline.net API documentation generated by ApiGen