ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
Factory.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\UI\Implementation\Component\Image
;
22
23
use
ILIAS\UI\Component\Image
as
I
;
24
25
class
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
}
Image
ILIAS\UI\Implementation
ILIAS\UI\Component\Image
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Image\Factory
Definition:
Factory.php:25
ILIAS\UI\Implementation\Component\Image\Factory\responsive
responsive(string $src, string $alt)
Definition:
Factory.php:32
ILIAS\UI\Implementation\Component\Image
Definition:
Factory.php:21
ILIAS\UI\Implementation\Component\Image\Factory\standard
standard(string $src, string $alt)
Definition:
Factory.php:27
components
ILIAS
UI
src
Implementation
Component
Image
Factory.php
Generated on Mon Sep 1 2025 23:02:03 for ILIAS by
1.8.13 (using
Doxyfile
)