mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-17 15:23:22 +02:00
28 lines
509 B
PHP
28 lines
509 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* @copyright 2021 Ad Aures
|
|
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
|
* @link https://castopod.org/
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use App\Entities\Actor;
|
|
use Modules\Fediverse\Models\ActorModel as FediverseActorModel;
|
|
|
|
class ActorModel extends FediverseActorModel
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $returnType = Actor::class;
|
|
|
|
public function getActorById(int $id): ?Actor
|
|
{
|
|
return $this->find($id);
|
|
}
|
|
}
|