mirror of
https://github.com/koel/koel
synced 2024-11-24 21:23:06 +00:00
12 lines
245 B
PHP
12 lines
245 B
PHP
<?php
|
|
|
|
namespace App\Repositories;
|
|
|
|
class SettingRepository extends AbstractRepository
|
|
{
|
|
/** @return array<mixed> */
|
|
public function getAllAsKeyValueArray(): array
|
|
{
|
|
return $this->model->pluck('value', 'key')->all();
|
|
}
|
|
}
|