ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
Factory.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
26 
27 class Factory implements FactoryInterface
28 {
31 
37  public function __construct(
38  InternalManipulator $internal_manipulator,
39  RepositoryInterface $repository,
40  ) {
41  $this->internal_manipulator = $internal_manipulator;
42  $this->repository = $repository;
43  }
44 
45  public function get(
48  return new Manipulator(
49  $this->internal_manipulator,
50  $this->repository,
51  $set
52  );
53  }
54 }
InternalManipulator $internal_manipulator
Definition: Factory.php:29
__construct(InternalManipulator $internal_manipulator, RepositoryInterface $repository,)
Note that the general Manipulator used in MetaData does not have an mutable internal state (prepared ...
Definition: Factory.php:37
repository()
description: > Example for rendering a repository card
Definition: repository.php:33