Library/Compiler.php
private function resolveOptimizersPath()
    {
        $optimizersPath = $this->optimizersPath;

        // fallback
        if (empty($optimizersPath)) {
            $optimizersPath = __DIR__.'/Optimizers';
        }

        if (!is_dir($optimizersPath) || !is_readable($optimizersPath)) {
            throw new IllegalStateException('Unable to resolve internal optimizers directory.');
        }

        return $optimizersPath;
    }
private function resolveOptimizersPath()
    {
        $optimizersPath = $this->optimizersPath;

        // fallback
        if (empty($optimizersPath)) {
            $optimizersPath = __DIR__.'/Optimizers';
        }

        if (!is_dir($optimizersPath) || !is_readable($optimizersPath)) {
            throw new IllegalStateException('Unable to resolve internal optimizers directory.');
        }

        return $optimizersPath;
    }
private function resolveOptimizersPath ( ) { $ optimizersPath = $ this -> optimizersPath ; // fallback if ( empty ( $ optimizersPath ) ) { $ optimizersPath = __DIR__ . '/Optimizers' ; } if ( ! is_dir ( $ optimizersPath ) || ! is_readable ( $ optimizersPath ) ) { throw new IllegalStateException ( 'Unable to resolve internal optimizers directory.' ) ; } return $ optimizersPath ; }
Resolves path to the internal optimizers.

@return string

@throws IllegalStateException in case of absence internal optimizers directory
Resolves path to the internal optimizers .