A lot of things
- Added Database page. - Added Xenforo API compatibility - Added Hovercard - Added Notifications
This commit is contained in:
19
app/XenForoDataTypes/XenForoData.php
Normal file
19
app/XenForoDataTypes/XenForoData.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\XenForoDataTypes;
|
||||
|
||||
use App\Services\XenforoService;
|
||||
|
||||
class XenForoData {
|
||||
|
||||
protected XenforoService $services;
|
||||
|
||||
public function __construct(public readonly object $data) {
|
||||
$this->services = app(XenforoService::class);
|
||||
}
|
||||
|
||||
public function __get(string $name): mixed {
|
||||
return $this->data->$name ?? null;
|
||||
}
|
||||
|
||||
}
|
||||
7
app/XenForoDataTypes/XenForoUserGroup.php
Normal file
7
app/XenForoDataTypes/XenForoUserGroup.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace App\XenForoDataTypes;
|
||||
|
||||
class XenForoUserGroup extends XenForoData {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user