ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
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 
24 
26 {
27  protected Icon\Factory $icon_factory;
30 
31  public function __construct(
32  Icon\Factory $icon_factory,
33  Glyph\Factory $glyph_factory,
34  Avatar\Factory $avatar_factory
35  ) {
36  $this->icon_factory = $icon_factory;
37  $this->glyph_factory = $glyph_factory;
38  $this->avatar_factory = $avatar_factory;
39  }
40 
41  public function icon(): Icon\Factory
42  {
43  return $this->icon_factory;
44  }
45 
46  public function glyph(): Glyph\Factory
47  {
48  return $this->glyph_factory;
49  }
50 
51  public function avatar(): Avatar\Factory
52  {
53  return $this->avatar_factory;
54  }
55 }
avatar()
description: purpose: > Avatars are graphical representations of a user.
Definition: Factory.php:51
glyph()
description: purpose: > Glyphs map a generally known concept or symbol to a specific concept in ILIA...
Definition: Factory.php:46
__construct(Icon\Factory $icon_factory, Glyph\Factory $glyph_factory, Avatar\Factory $avatar_factory)
Definition: Factory.php:31
icon()
description: purpose: > Icons are quickly comprehensible and recognizable graphics.
Definition: Factory.php:41