1 | <?php |
||
21 | class StyledImagesEvent extends Event |
||
22 | { |
||
23 | /** |
||
24 | * @var ResponsiveImageInterface |
||
25 | */ |
||
26 | protected $image; |
||
27 | /** |
||
28 | * @var array |
||
29 | */ |
||
30 | protected $styleImageLocationArray = []; |
||
31 | |||
32 | /** |
||
33 | * StyledImagesEvent constructor. |
||
34 | * |
||
35 | * @param ResponsiveImageInterface|null $image |
||
36 | * @param array $styleImageLocationArray |
||
37 | */ |
||
38 | public function __construct(ResponsiveImageInterface $image = null, array $styleImageLocationArray = []) |
||
43 | |||
44 | /** |
||
45 | * @return array |
||
46 | */ |
||
47 | public function getStyleImageLocationArray() |
||
51 | |||
52 | /** |
||
53 | * @return ResponsiveImageInterface|null |
||
54 | */ |
||
55 | public function getImage() |
||
59 | } |