unit; } public function getApp() { return $this->app; } public function getModule() { return $this->module; } public function getFrom() { return $this->from; } public function getType() { return $this->type; } public function getElement() { return $this->element; } public function getComponent() { return $this->component; } public function getPermission() : int { return $this->permission; } public function setUnit(int $unit = null) /* : void */ { $this->unit = $unit; } public function setApp(int $app = null) /* : void */ { $this->app = $app; } public function setModule(int $module = null) /* : void */ { $this->module = $module; } public function setFrom(int $from = null) /* : void */ { $this->from = $from; } public function setType(int $type = null) /* : void */ { $this->type = $type; } public function setElement(int $element = null) /* : void */ { $this->element = $element; } public function setComponent(int $component = null) /* : void */ { $this->component = $component; } public function setPermission(int $permission = 0) /* : void */ { if($permission === 0) { $this->permission = 0; } else { $this->permission |= $permission; } } }