src/Trident/Module/FrameworkModule/Console/Command/AssetsCompileCommand.php
private function getTemplateDirs($kernel)
    {
        $dirs = [];
        $dirs['core'] = $kernel->getRootDir().'/views';

        foreach ($kernel->getModules() as $module) {
            $dirs[$module->getName()] = $module->getRootDir().'/module/views';
        }

        return $dirs;
    }
private function getTemplateDirs($kernel)
    {
        $dirs = [];
        $dirs['core'] = $kernel->getRootDir().'/views';

        foreach ($kernel->getModules() as $module) {
            $dirs[$module->getName()] = $module->getRootDir().'/module/views';
        }

        return $dirs;
    }
private function getTemplateDirs ( $ kernel ) { $ dirs = [ ] ; $ dirs [ 'core' ] = $ kernel -> getRootDir ( ) . '/views' ; foreach ( $ kernel -> getModules ( ) as $ module ) { $ dirs [ $ module -> getName ( ) ] = $ module -> getRootDir ( ) . '/module/views' ; } return $ dirs ; }
Get all standard template directories.

@param TridentKernel $kernel

@return array
Get all standard template directories .