mirror of
https://github.com/jonathan-martz/pocketbase-php-sdk.git
synced 2026-04-03 07:27:42 +00:00
start with Collection Class
This commit is contained in:
17
src/Collection.php
Normal file
17
src/Collection.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace Pb;
|
||||
|
||||
class Collection
|
||||
{
|
||||
private $json;
|
||||
|
||||
public function __construct($data)
|
||||
{
|
||||
$this->json = $data;
|
||||
}
|
||||
|
||||
public function authWithPassword(){
|
||||
var_dump($this->json);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user