PHP code example of icanboogie / config
1. Go to this page and download the library: Download icanboogie/config library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icanboogie / config example snippets
/* @var \ICanBoogie\Config $config */
$my_config = $config->config_for_class(MyConfig::class);
use ICanBoogie\Config;
/* @var string[] $paths */
$builders = [ MyConfig::class => MyBuilder::class ];
$config = new Config($paths, builders);
$my_config = $config->config_for_class(MyConfig::class);
namespace ICanBoogie;
$config = new Config($paths, $builders, $cache);