children() as $child) { if ($child->isPropertyEmpty('icon')) { $child->setIcon(); } } } }