diff --git a/src/GitDown.php b/src/GitDown.php index c5da2c0..3721a1f 100644 --- a/src/GitDown.php +++ b/src/GitDown.php @@ -15,6 +15,16 @@ public function __construct($token = null, $context = null) $this->context = $context; } + public function setToken($token) + { + $this->token = $token; + } + + public function setContext($token) + { + $this->context = $context; + } + public function parse($content) { $response = Zttp::withHeaders([