src/InfinityBase/Entity/EntityAwareTrait.php
protected function getModuleNamespace()
    {
        if (null === $this->moduleNamespace) {
            $class                 = get_class($this);
            $this->moduleNamespace = substr($class, 0, strpos($class, '\\'));
        }
        return $this->moduleNamespace;
    }
protected function getModuleNamespace()
    {
        if (null === $this->moduleNamespace) {
            $class                 = get_class($this);
            $this->moduleNamespace = substr($class, 0, strpos($class, '\\'));
        }
        return $this->moduleNamespace;
    }
protected function getModuleNamespace ( ) { if ( null === $ this -> moduleNamespace ) { $ class = get_class ( $ this ) ; $ this -> moduleNamespace = substr ( $ class , 0 , strpos ( $ class , '\\' ) ) ; } return $ this -> moduleNamespace ; }
Retrieve the module namespace

@return string
Retrieve the module namespace