initial commit
This commit is contained in:
18
src/Entities/Album.php
Normal file
18
src/Entities/Album.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace PhotoPrismUpload\Entities;
|
||||
|
||||
use Monolog\Logger;
|
||||
|
||||
class Album
|
||||
{
|
||||
public string $uid = '';
|
||||
public string $slug = '';
|
||||
public string $title = '';
|
||||
public function __construct(
|
||||
array $response
|
||||
) {
|
||||
$this->uid = $response['UID'];
|
||||
$this->slug = $response['Slug'];
|
||||
$this->title = $response['Title'];
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user