mirror of
https://github.com/openvk/openvk
synced 2024-11-14 11:09:12 +03:00
14 lines
330 B
PHP
14 lines
330 B
PHP
|
<?php declare(strict_types=1);
|
||
|
namespace openvk\Web\Models\Repositories;
|
||
|
|
||
|
class SupportAliases extends Repository
|
||
|
{
|
||
|
protected $tableName = "support_names";
|
||
|
protected $modelName = "SupportAlias";
|
||
|
|
||
|
function get(int $agent)
|
||
|
{
|
||
|
return $this->toEntity($this->table->where("agent", $agent)->fetch());
|
||
|
}
|
||
|
}
|