public function __construct($path = null, $options = []) { self::$templatePath = ($path ? rtrim($path, '/') : __DIR__) . '/'; }