public __construct ( string $templatePath = "", array $attributes = [] ) | ||
$templatePath | string | |
$attributes | array |
public function __construct($templatePath = "", $attributes = [])
{
$this->templatePath = rtrim($templatePath, '/\\') . '/';
$this->attributes = $attributes;
}