-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverted Config with old deprecated Interface for now
- Loading branch information
Showing
7 changed files
with
35 additions
and
40 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* Config Class that handle the classes configuration | ||
* | ||
* @deprecated | ||
* @package ItalyStrap\Config | ||
*/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace ItalyStrap\Config; | ||
|
||
/** | ||
* ConfigFactory Class | ||
* @deprecated | ||
*/ | ||
class Config_Factory { | ||
|
||
/** | ||
* Load and return the Config object. | ||
* | ||
* @param string|array $config File path and filename to the config array; or it is the | ||
* configuration array. | ||
* @param string|array $defaults Specify a defaults array, which is then merged together | ||
* with the initial config array before creating the object. | ||
* | ||
* @return Config Returns the Config object | ||
*/ | ||
public static function make( $config = [], $defaults = [] ) : ConfigInterface { | ||
return ConfigFactory::make( $config, $defaults ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters