public static function setPathCompiled($pathCompiled = '/tmp/Eureka/tpl')
    {
        $pathCompiled = rtrim($pathCompiled, '/') . '/';

        if (!file_exists($pathCompiled) || !is_dir($pathCompiled)) {
            if (!mkdir($pathCompiled, 0755, true)) {
                throw new  \Exception('Cannot create directory for templates compiled (path: ' . $pathCompiled . ')');
            }
        }

        static::$pathCompiled = $pathCompiled;
    }