function __construct(Application $app) { $this->app = $app; $this->config = $app['assetmerge_config']; if ($this->config->getFlushMerged()) { $this->flushMerged(); } }