mirror of
https://github.com/koel/koel
synced 2024-11-28 06:50:27 +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();
|
|
}
|
|
}
|