public function getTraitsNamespace() { return substr($this->moduleClass, 0, strrpos($this->moduleClass, '\\')) . '\\traits'; }