Skip to content

Commit

Permalink
[Yaml] tagged the guaranteed BC API
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 24, 2011
1 parent a0f73dd commit a474fe2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Yaml.php
Expand Up @@ -15,6 +15,8 @@
* Yaml offers convenience methods to load and dump YAML.
*
* @author Fabien Potencier <fabien@symfony.com>
*
* @api
*/
class Yaml
{
Expand Down Expand Up @@ -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)
{
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit a474fe2

Please sign in to comment.