* @license http://www.gnu.org/licenses/gpl-2.0.txt GPL, version 2 * @author Icinga Development Team */ // {{{ICINGA_LICENSE_HEADER}}} namespace Monitoring\Form\Command; /** * Class handle specific command flags */ abstract class WithChildrenCommandForm extends ConfirmationForm { /** * Flag if we handle child objects as well * @var bool */ private $withChildren = false; /** * Setter for withChildren * @param bool $flag */ public function setWithChildren($flag = true) { $this->withChildren = $flag; } /** * Getter for withChildren * @return bool */ public function getWithChildren() { return $this->withChildren; } }