AssetCompress\View\Helper\AssetCompressHelper::__construct PHP 메소드

__construct() 공개 메소드

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.
리턴 void
    public function __construct(View $view, $settings = [])
    {
        parent::__construct($view, $settings);
        if (empty($settings['noconfig'])) {
            $configFinder = new ConfigFinder();
            $this->assetConfig($configFinder->loadAll());
        }
    }