You are here

public function Text_Template::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/php-text-template/src/Template.php \Text_Template::__construct()

Constructor.

Parameters

string $file:

Throws

InvalidArgumentException

File

vendor/phpunit/php-text-template/src/Template.php, line 44

Class

Text_Template
A simple template engine.

Code

public function __construct($file = '', $openDelimiter = '{', $closeDelimiter = '}') {
  $this
    ->setFile($file);
  $this->openDelimiter = $openDelimiter;
  $this->closeDelimiter = $closeDelimiter;
}