-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I have a specific need, can it be implemented in this library?
I want to have dumped array with comments like this:
return [
'a' => [
'a1' => 'one', /// from file-a
],
'b' => [
'b2' => 'two', /// from file-b
],
];
It could be implemented with providing callback:
public function commentsCallback(array $keys, $value) {
/// example, actual logic will be other
if ($keys == ['a','a1'] and $value === 'one') return 'from file a';
/// ....
return null;
}
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels