Add method Config::isEmpty()
This commit is contained in:
parent
b38e3affb9
commit
0124a33037
|
@ -167,4 +167,14 @@ class Config extends Zend_Config
|
|||
{
|
||||
return self::$configDir . DIRECTORY_SEPARATOR . ltrim($path, DIRECTORY_SEPARATOR);
|
||||
}
|
||||
|
||||
/**
|
||||
* Is the configuration empty?
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isEmpty()
|
||||
{
|
||||
return empty($this->_data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue