Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Add setters for context and token
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Mar 6, 2019
1 parent e1e002b commit 02824ae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/GitDown.php
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 02824ae

Please sign in to comment.