constants = true; } if (empty($module)) { throw new \BadMethodCallException('The @Module annotation must be passed a module attribute!'); } $this->module = $module; $this->submodule = $submodule; } }