mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- update Component class structure and remove component helper function and ComponentLoader - update residual activitypub naming to fediverse
21 lines
487 B
PHP
21 lines
487 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Modules\Fediverse\Models;
|
|
|
|
use CodeIgniter\Database\ConnectionInterface;
|
|
use CodeIgniter\Validation\ValidationInterface;
|
|
use Michalsn\Uuid\UuidModel;
|
|
|
|
class BaseUuidModel extends UuidModel
|
|
{
|
|
public function __construct(ConnectionInterface &$db = null, ValidationInterface $validation = null)
|
|
{
|
|
parent::__construct($db, $validation);
|
|
|
|
$this->table = config('Fediverse')
|
|
->tablesPrefix . $this->table;
|
|
}
|
|
}
|