Skip to content

Commit bd9dcff

Browse files
committed
[Yaml] mark some classes as final
1 parent 5a58daa commit bd9dcff

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ CHANGELOG
44
3.4.0
55
-----
66

7+
* the `Dumper`, `Parser`, and `Yaml` classes are marked as final
8+
79
* Deprecated the `!php/object:` tag which will be replaced by the
810
`!php/object` tag (without the colon) in 4.0.
911

Dumper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* Dumper dumps PHP variables to YAML strings.
1616
*
1717
* @author Fabien Potencier <[email protected]>
18+
*
19+
* @final since version 3.4
1820
*/
1921
class Dumper
2022
{

Parser.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* Parser parses YAML strings to convert them to PHP arrays.
1919
*
2020
* @author Fabien Potencier <[email protected]>
21+
*
22+
* @final since version 3.4
2123
*/
2224
class Parser
2325
{

Yaml.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* Yaml offers convenience methods to load and dump YAML.
1818
*
1919
* @author Fabien Potencier <[email protected]>
20+
*
21+
* @final since version 3.4
2022
*/
2123
class Yaml
2224
{

0 commit comments

Comments
 (0)