diff --git a/src/init.php b/src/init.php index 20df37c..a54c5c2 100644 --- a/src/init.php +++ b/src/init.php @@ -1,5 +1,6 @@ [ + 'value' => true, + 'level-2' => [ + 'value' => true, + 'level-3' => [ + 'value' => true + ] + ] + ] + ]; + + public function getDataContainerName() + { + return 'data'; + } +} \ No newline at end of file diff --git a/tests/test-walker-trait.php b/tests/test-walker-trait.php new file mode 100644 index 0000000..145e9e9 --- /dev/null +++ b/tests/test-walker-trait.php @@ -0,0 +1,8 @@ +'; +var_dump($storage->getData('level-1')); +echo ''; \ No newline at end of file