1 | <?php |
||
22 | final class ImagesUploadListener |
||
23 | { |
||
24 | /** |
||
25 | * @var ImageUploaderInterface |
||
26 | */ |
||
27 | private $uploader; |
||
28 | |||
29 | /** |
||
30 | * @param ImageUploaderInterface $uploader |
||
31 | */ |
||
32 | public function __construct(ImageUploaderInterface $uploader) |
||
36 | |||
37 | /** |
||
38 | * @param GenericEvent $event |
||
39 | */ |
||
40 | public function uploadImages(GenericEvent $event) |
||
47 | |||
48 | /** |
||
49 | * @param ImagesAwareInterface $subject |
||
50 | */ |
||
51 | private function uploadSubjectImages(ImagesAwareInterface $subject) |
||
65 | } |
||
66 |