public function __construct() { $config = ['name' => 'Node', 'fields' => ['id' => Types::id()], 'resolveType' => [$this, 'resolveNodeType']]; parent::__construct($config); }