PHP code example of php-platform / mock-config
1. Go to this page and download the library: Download php-platform/mock-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/ */
php-platform / mock-config example snippets
PHP
PhpPlatform\Mock\Config\MockSettings::setSettings($package, $settingPath, $settingValue )
PHP
PhpPlatform\Mock\Config\MockSettings::setSettings('phpplatform/mypackage','logs.error','/usr/logs/error.log');