protected function registerServices() { $this['model_manager'] = $this->share(function () { return new ModelManager($this['gaufrette.filesystem'], $this['satis.config_file']); }); }