protected function getApp($boot = true) { $app = parent::getApp($boot); $app['asset.file.hash.factory'] = $app->protect(function ($fileName) { return md5($fileName); }); return $app; }