src/Cache/DatabaseTreeCache.php
public function generateAllCacheTree($cacheDir)
    {
        $this->cacheDir = $cacheDir;

        $tables = $this->database->listTables();

        foreach ($tables as $table) {
            // trigger loadDataContainer TL_HOOK
            System::getContainer()->get('huh.utils.dca')->loadDc($table);
        }
    }
public function generateAllCacheTree($cacheDir)
    {
        $this->cacheDir = $cacheDir;

        $tables = $this->database->listTables();

        foreach ($tables as $table) {
            // trigger loadDataContainer TL_HOOK
            System::getContainer()->get('huh.utils.dca')->loadDc($table);
        }
    }
public function generateAllCacheTree ( $ cacheDir ) { $ this -> cacheDir = $ cacheDir ; $ tables = $ this -> database -> listTables ( ) ; foreach ( $ tables as $ table ) { // trigger loadDataContainer TL_HOOK System :: getContainer ( ) -> get ( 'huh.utils.dca' ) -> loadDc ( $ table ) ; } }
Generate all cache trees.

@param $cacheDir
Generate all cache trees .