1 | <?php |
||
24 | class UploaderSubscriber implements EventSubscriberInterface |
||
25 | { |
||
26 | /** |
||
27 | * @var FilesystemInterface |
||
28 | */ |
||
29 | private $fileSystem; |
||
30 | |||
31 | /** |
||
32 | * UploaderSubscriber constructor. |
||
33 | * |
||
34 | * @param FilesystemInterface $fileSystem |
||
35 | */ |
||
36 | public function __construct(FilesystemInterface $fileSystem) |
||
40 | |||
41 | /** |
||
42 | * @return array |
||
43 | */ |
||
44 | public static function getSubscribedEvents() |
||
51 | |||
52 | /** |
||
53 | * @param UploaderEvent $event |
||
54 | */ |
||
55 | public function onPreUpload(UploaderEvent $event) |
||
64 | |||
65 | /** |
||
66 | * @param UploaderEvent $event |
||
67 | */ |
||
68 | public function onUploaded(UploaderEvent $event) |
||
72 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.