Skip to content
Browse files

[Yaml] tagged the guaranteed BC API

  • Loading branch information...
1 parent a0f73dd commit a474fe2e242efc83635f5f18f5649cde6f7ff92b @fabpot fabpot committed Mar 24, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 Yaml.php
View
6 Yaml.php
@@ -15,6 +15,8 @@
* Yaml offers convenience methods to load and dump YAML.
*
* @author Fabien Potencier <fabien@symfony.com>
+ *
+ * @api
*/
class Yaml
{
@@ -63,6 +65,8 @@ static public function getSpecVersion()
* @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 @@ public static function load($input)
* @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)
{

0 comments on commit a474fe2

Please sign in to comment.
Something went wrong with that request. Please try again.