AssetCompress\View\Helper\AssetCompressHelper::__construct PHP Method

__construct() public method

Constructor - finds and parses the ini file the plugin uses.
public __construct ( Cake\View\View $view, array $settings = [] ) : void
$view Cake\View\View The view instance to use.
$settings array The settings for the helper.
return void
    public function __construct(View $view, $settings = [])
    {
        parent::__construct($view, $settings);
        if (empty($settings['noconfig'])) {
            $configFinder = new ConfigFinder();
            $this->assetConfig($configFinder->loadAll());
        }
    }