yiisoft / config

Configuration management
https://www.yiiframework.com/
BSD 3-Clause "New" or "Revised" License
31 stars 11 forks source link

Config->get() add $default values #6

Closed lav45 closed 3 years ago

lav45 commented 3 years ago
final class Config
{
    public function get(string $name, $default = null): array
    {}
}
samdark commented 3 years ago

No, it's not what the get() is for.