public function __construct(\stdClass $config = null) { if (!$config instanceof \stdClass) { $config = new \stdClass(); } $this->CONFIG = $config; }