mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-03 15:27:44 +00:00
allow to manually define the auth token for client and settings
This commit is contained in:
@@ -25,11 +25,13 @@ class Collection
|
||||
/**
|
||||
* @param string $url
|
||||
* @param string $collection
|
||||
* @param string $token
|
||||
*/
|
||||
public function __construct(string $url, string $collection)
|
||||
public function __construct(string $url, string $collection, string $token)
|
||||
{
|
||||
$this->url = $url;
|
||||
$this->collection = $collection;
|
||||
self::$token = $token;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user