public function getModulesPath()
    {
        $paths = $this->locator->getModulesPath();
        foreach (array_keys($paths) as $module) {
            $paths[$module] .= DIRECTORY_SEPARATOR . TemplateReference::MODULE_VIEWS_DIRECTORY;
        }

        return $paths;
    }
public function getModulesPath()
    {
        $paths = $this->locator->getModulesPath();
        foreach (array_keys($paths) as $module) {
            $paths[$module] .= DIRECTORY_SEPARATOR . TemplateReference::MODULE_VIEWS_DIRECTORY;
        }

        return $paths;
    }
public function getModulesPath ( ) { $ paths = $ this -> locator -> getModulesPath ( ) ; foreach ( array_keys ( $ paths ) as $ module ) { $ paths [ $ module ] .= DIRECTORY_SEPARATOR . TemplateReference :: MODULE_VIEWS_DIRECTORY ; } return $ paths ; }
Returns an array of paths to modules views dir.

@return array An array of paths to each loaded module
Returns an array of paths to modules views dir .