31) { // throw new ConfigurationException(sprintf("bad status bit (%s)", $sbit)); // } $this->bit = $bit; } public function addAction(array &$actions, array $context) { if(!array_key_exists('status', $actions)) { $actions['status'] = []; } $actions['status'][] = [ "bit" => $this->bit, "state" => !!trim($this->getValue($context)) ]; } }