Autarky\Config\ConfigInterface::has PHP Метод

has() публичный Метод

Should return true even if the value is null.
public has ( string $key ) : boolean
$key string
Результат boolean
    public function has($key);

Usage Example

Пример #1
0
 protected function getSessionPath()
 {
     if ($this->config->has('path.session')) {
         return $this->config->get('path.session');
     }
     if ($this->config->has('path.storage')) {
         return $this->config->get('path.storage') . '/session';
     }
     return null;
 }
All Usage Examples Of Autarky\Config\ConfigInterface::has