22
33/*
44 * This file is a part of dflydev/dot-access-configuration.
5- *
5+ *
66 * (c) Dragonfly Development Inc.
77 *
88 * For the full copyright and license information, please view the LICENSE
@@ -18,93 +18,93 @@ interface ConfigurationInterface
1818{
1919 /**
2020 * Get a value (with placeholders unresolved)
21- *
21+ *
2222 * @param string $key
23- *
23+ *
2424 * @return mixed
2525 */
2626 public function getRaw ($ key );
2727
2828 /**
2929 * Get a value (with placeholders resolved)
30- *
30+ *
3131 * @param string $key
32- *
32+ *
3333 * @return mixed
3434 */
3535 public function get ($ key );
3636
3737 /**
3838 * Set a value
39- *
39+ *
4040 * @param string $key
4141 * @param mixed $value
4242 */
4343 public function set ($ key , $ value = null );
4444
4545 /**
4646 * Append a value
47- *
47+ *
4848 * Will force key to be an array if it is only a string
49- *
49+ *
5050 * @param string $key
5151 * @param mixed $value
5252 */
5353 public function append ($ key , $ value = null );
5454
5555 /**
5656 * Export configuration data as an associtaive array (with placeholders unresolved)
57- *
57+ *
5858 * @return array
59- */
59+ */
6060 public function exportRaw ();
6161
6262 /**
6363 * Export configuration data as an associtaive array (with placeholders resolved)
64- *
64+ *
6565 * @return array
66- */
66+ */
6767 public function export ();
6868
6969 /**
7070 * Underlying Data representation
71- *
71+ *
7272 * Will have all placeholders resolved.
73- *
73+ *
7474 * @return Data
7575 */
7676 public function exportData ();
7777
7878 /**
7979 * Import another Configuration
80- *
80+ *
8181 * @param array $imported
8282 * @param bool $clobber
83- */
83+ */
8484 public function importRaw ($ imported , $ clobber = true );
8585
8686 /**
8787 * Import another Configuration
88- *
88+ *
8989 * @param ConfigurationInterface $imported
9090 * @param bool $clobber
91- */
91+ */
9292 public function import (ConfigurationInterface $ imported , $ clobber = true );
9393
9494 /**
9595 * Resolve placeholders in value from configuration
96- *
96+ *
9797 * @param string|null $value
98- *
98+ *
9999 * @return string
100100 */
101101 public function resolve ($ value = null );
102102
103103 /**
104104 * Set Placeholder Resolver
105- *
105+ *
106106 * @param PlaceholderResolver $placeholderResolver
107- *
107+ *
108108 * @return ConfigurationInterface
109109 */
110110 public function setPlaceholderResolver (PlaceholderResolverInterface $ placeholderResolver );
0 commit comments