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());
}
}