ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
StandardRepositoryPreloader.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
29
35{
41
42 public function __construct(Repositories $repositories)
43 {
44 $this->resource_repository = $repositories->getResourceRepository();
45 $this->revision_repository = $repositories->getRevisionRepository();
46 $this->information_repository = $repositories->getInformationRepository();
47 $this->stakeholder_repository = $repositories->getStakeholderRepository();
48 $this->flavour_repository = $repositories->getFlavourRepository();
49 }
50
51 public function preload(array $identification_strings): void
52 {
53 $this->resource_repository->preload($identification_strings);
54 $this->revision_repository->preload($identification_strings);
55 $this->information_repository->preload($identification_strings);
56 $this->stakeholder_repository->preload($identification_strings);
57 $this->flavour_repository->preload($identification_strings);
58 }
59}