public function __construct($config = []) { if (empty($config)) { $config['name'] = $this->getName(); } $this->config = new InterfaceTypeConfig($config, $this); }