*/ interface ChildTaskAwareInterface { /** * Adds a new child task. * * @param string $taskId * @return ChildTaskAwareInterface */ public function addChildId($taskId); /** * Is there any child task set? * * @return bool */ public function hasChildren(); /** * Returns the array of child tasks' ids. * * @return string[] */ public function getChildren(); }