/** * @param IntrospectionHelper $ih * @param $parent * @param UnknownElement $child * @param RuntimeConfigurable $childWrapper * @return bool */ public function handleChild(IntrospectionHelper $ih, $parent, UnknownElement $child, RuntimeConfigurable $childWrapper) { $childWrapper->setProxy($realChild); if ($realChild instanceof Task) { $realChild->setRuntimeConfigurableWrapper($childWrapper); } $childWrapper->maybeConfigure($this->project); $child->handleChildren($realChild, $childWrapper); return true; }