public function __construct(HtmlHelpers $htmlTools = null) { $this->htmlTools = $htmlTools ?: new HtmlHelpers(); }