Skip to content

Commit 1b87afc

Browse files
authored
Adding ability to override options (#19)
1 parent 61a1bf0 commit 1b87afc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Branding.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,4 +223,9 @@ public function buildNavItem($text, $href, $linktrack)
223223
$linktrack
224224
);
225225
}
226+
227+
public function overrideOption(string $option, $value): void
228+
{
229+
$this->options[$option] = $value;
230+
}
226231
}

0 commit comments

Comments
 (0)