Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Config {
- # Config array
- //public $config = array();
- public function __contruct($config) {
- $this->config = $config;
- }
- }
- $c = new Config(array('a' => 'b'));
- var_dump($c);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement