ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
Factory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
25class Factory implements I\Factory
26{
27 public function standard(string $src, string $alt): Image
28 {
29 return new Image(I\Image::STANDARD, $src, $alt);
30 }
31
32 public function responsive(string $src, string $alt): Image
33 {
34 return new Image(I\Image::RESPONSIVE, $src, $alt);
35 }
36}
responsive(string $src, string $alt)
Definition: Factory.php:32