Pārlūkot izejas kodu

[Yaml] tagged the guaranteed BC API

Fabien Potencier 14 gadi atpakaļ
vecāks
revīzija
e0469d398d
1 mainītis faili ar 6 papildinājumiem un 0 dzēšanām
  1. 6 0
      src/Symfony/Component/Yaml/Yaml.php

+ 6 - 0
src/Symfony/Component/Yaml/Yaml.php

@@ -15,6 +15,8 @@ namespace Symfony\Component\Yaml;
  * Yaml offers convenience methods to load and dump YAML.
  *
  * @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @api
  */
 class Yaml
 {
@@ -63,6 +65,8 @@ class Yaml
      * @return array The YAML converted to a PHP array
      *
      * @throws \InvalidArgumentException If the YAML is not valid
+     *
+     * @api
      */
     public static function load($input)
     {
@@ -106,6 +110,8 @@ class Yaml
      * @param integer $inline The level where you switch to inline YAML
      *
      * @return string A YAML string representing the original PHP array
+     *
+     * @api
      */
     public static function dump($array, $inline = 2)
     {