Config documentation now has @throws statements

This commit is contained in:
Abel Hoogeveen 2016-06-02 19:15:18 +02:00
parent ef82ea3463
commit c97c7f8aab
1 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class Config
* @param string $configName Name of the config file. Eg. 'main'
* @param array $configPaths Optional array of where to look for the config files
* @return FuzeWorks\ConfigORM\ConfigORM ORM of the config file. Allows for easy reading and editing of the file
* @throws ConfigException
*/
public function getConfig($configName, array $configPaths = array())
{
@ -101,6 +102,7 @@ class Config
* @param string $configName Name of the config file. Eg. 'main'
* @param array $configPaths Required array of where to look for the config files
* @return FuzeWorks\ConfigORM\ConfigORM ORM of the config file. Allows for easy reading and editing of the file
* @throws ConfigException
*/
protected function loadConfigFile($configName, array $configPaths)
{
@ -125,6 +127,7 @@ class Config
* @deprecated
* @param string $configName Name of the config file. Eg. 'main'
* @return FuzeWorks\ConfigORM\ConfigORM ORM of the config file. Allows for easy reading and editing of the file
* @throws ConfigException
*/
public static function get($configName)
{