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