public function __construct(Mappings $repository, Filesystem $files) { $this->repository = $repository; $this->files = $files; }