Skip to content

Commit

Permalink
chore: config class with private props
Browse files Browse the repository at this point in the history
  • Loading branch information
Yizack committed Dec 3, 2024
1 parent b60183d commit e7594c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
namespace Yizack;

class Config {
public $token;
public $path;
public $filename;
private $token;
private $path;
private $filename;

function __construct($token, $path = "ig_token", $filename = "updated.json") {
$this->token = $token; // long-lived-access-token
Expand Down

0 comments on commit e7594c4

Please # to comment.