File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -477,6 +477,14 @@ the extension. You might want to change this to a more professional URL::
477
477
}
478
478
}
479
479
480
+ .. deprecated :: 7.4
481
+
482
+ The ``getNamespace() `` method, together with XML support, is deprecated
483
+ since Symfony 7.4 and will be removed in Symfony 8.0.
484
+
485
+ If your bundle needs to remain compatible with older Symfony versions that
486
+ still support XML, keep this method and add the ``@deprecated `` annotation to it.
487
+
480
488
Providing an XML Schema
481
489
~~~~~~~~~~~~~~~~~~~~~~~
482
490
@@ -510,6 +518,14 @@ can place it anywhere you like. You should return this path as the base path::
510
518
}
511
519
}
512
520
521
+ .. deprecated :: 7.4
522
+
523
+ The ``getXsdValidationBasePath() `` method, together with XML support, is
524
+ deprecated since Symfony 7.4 and will be removed in Symfony 8.0.
525
+
526
+ If your bundle needs to remain compatible with older Symfony versions that
527
+ still support XML, keep this method and add the ``@deprecated `` annotation to it.
528
+
513
529
Assuming the XSD file is called ``hello-1.0.xsd ``, the schema location will be
514
530
``https://acme_company.com/schema/dic/hello/hello-1.0.xsd ``:
515
531
You can’t perform that action at this time.
0 commit comments