Explorar el Código

[Yaml] tagged the guaranteed BC API

Fabien Potencier hace 14 años
padre
commit
e0469d398d
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  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)
     {