Skip to content

Feature: Add config.php file support#73

Merged
glensc merged 5 commits intoperftools:mainfrom
glensc:config-loading
May 31, 2022
Merged

Feature: Add config.php file support#73
glensc merged 5 commits intoperftools:mainfrom
glensc:config-loading

Conversation

@glensc
Copy link
Copy Markdown
Contributor

@glensc glensc commented May 31, 2022

Adds support for using config files

// Config::create() will load config/config.default.php
// and then merge with config/config.php (if it exists).
$config = \Xhgui\Profiler\Config::create();
$profiler = new \Xhgui\Profiler\Profiler($config);

This is preparation to add support for import.php cli tool:

@glensc glensc self-assigned this May 31, 2022
@glensc glensc merged commit 51e65ae into perftools:main May 31, 2022
@glensc glensc deleted the config-loading branch May 31, 2022 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant