function __construct(array $config) { $this->name = $config['name']; $this->config = $config; parent::__construct(); }