protected function getDataAttributes($attributes) { $exceptions = [$this->node->getKeyName(), $this->getChildrenKeyName()]; return array_except($attributes, $exceptions); }