Skip to content

Commit adacca1

Browse files
committed
Add toArray method to Config
1 parent ed67df0 commit adacca1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/Config.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ public function __construct(array $config = array())
1717
}
1818
}
1919

20+
/**
21+
* @return array
22+
*/
23+
public function toArray()
24+
{
25+
return $this->config;
26+
}
27+
2028
private function merge(array $config)
2129
{
2230
$this->config = array_replace($this->config, $config);

0 commit comments

Comments
 (0)