mirror of
https://github.com/koel/koel
synced 2024-12-23 19:13: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();
|
|
}
|
|
}
|