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;
    }
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;
    }
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 ; }
Set path for compiled templates.

@param  string $pathCompiled
@return void
@throws \Exception
Set path for compiled templates .