1 | <?php |
||
36 | class GalleryListBlockService extends AbstractBlockService |
||
37 | { |
||
38 | /** |
||
39 | * @var GalleryManagerInterface |
||
40 | */ |
||
41 | protected $galleryManager; |
||
42 | |||
43 | /** |
||
44 | * @var Pool |
||
45 | */ |
||
46 | protected $pool; |
||
47 | |||
48 | /** |
||
49 | * NEXT_MAJOR: Remove `$templating` argument. |
||
50 | * |
||
51 | * @param Environment|string $twigOrName |
||
52 | */ |
||
53 | public function __construct($twigOrName, ?EngineInterface $templating, GalleryManagerInterface $galleryManager, Pool $pool) |
||
60 | |||
61 | /** |
||
62 | * NEXT_MAJOR: Remove this method. |
||
63 | * |
||
64 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. You should use |
||
65 | * `Sonata\BlockBundle\Block\Service\EditableBlockService` interface instead. |
||
66 | */ |
||
67 | public function buildEditForm(FormMapper $formMapper, BlockInterface $block): void |
||
128 | |||
129 | public function execute(BlockContextInterface $blockContext, ?Response $response = null) |
||
154 | |||
155 | public function configureSettings(OptionsResolver $resolver): void |
||
170 | |||
171 | /** |
||
172 | * NEXT_MAJOR: Remove this method. |
||
173 | * |
||
174 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. You should use |
||
175 | * `Sonata\BlockBundle\Block\Service\EditableBlockService` interface instead. |
||
176 | */ |
||
177 | public function getBlockMetadata($code = null) |
||
183 | |||
184 | /** |
||
185 | * NEXT_MAJOR: Remove this method. |
||
186 | * |
||
187 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. You should use |
||
188 | * `Sonata\BlockBundle\Block\Service\EditableBlockService` interface instead. |
||
189 | */ |
||
190 | public function buildCreateForm(FormMapper $formMapper, BlockInterface $block) |
||
194 | |||
195 | /** |
||
196 | * NEXT_MAJOR: Remove this method. |
||
197 | * |
||
198 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
199 | */ |
||
200 | public function prePersist(BlockInterface $block) |
||
203 | |||
204 | /** |
||
205 | * NEXT_MAJOR: Remove this method. |
||
206 | * |
||
207 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
208 | */ |
||
209 | public function postPersist(BlockInterface $block) |
||
212 | |||
213 | /** |
||
214 | * NEXT_MAJOR: Remove this method. |
||
215 | * |
||
216 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
217 | */ |
||
218 | public function preUpdate(BlockInterface $block) |
||
221 | |||
222 | /** |
||
223 | * NEXT_MAJOR: Remove this method. |
||
224 | * |
||
225 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
226 | */ |
||
227 | public function postUpdate(BlockInterface $block) |
||
230 | |||
231 | /** |
||
232 | * NEXT_MAJOR: Remove this method. |
||
233 | * |
||
234 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
235 | */ |
||
236 | public function preRemove(BlockInterface $block) |
||
239 | |||
240 | /** |
||
241 | * NEXT_MAJOR: Remove this method. |
||
242 | * |
||
243 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. |
||
244 | */ |
||
245 | public function postRemove(BlockInterface $block) |
||
248 | |||
249 | /** |
||
250 | * NEXT_MAJOR: Remove this method. |
||
251 | * |
||
252 | * @deprecated since sonata-project/media-bundle 3.25, to be removed in 4.0. You should use |
||
253 | * `Sonata\BlockBundle\Block\Service\EditableBlockService` interface instead. |
||
254 | */ |
||
255 | public function validateBlock(ErrorElement $errorElement, BlockInterface $block) |
||
258 | } |
||
259 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.