Translate extension for MediaWiki
 
Loading...
Searching...
No Matches
MediaWiki\Extension\Translate\Utilities\Yaml Class Reference

A wrapper class to provide interface to parse and generate YAML files with phpyaml or spyc backend. More...

Static Public Member Functions

static loadString (string $text)
 
static load (string $file)
 
static dump (array $text)
 

Detailed Description

A wrapper class to provide interface to parse and generate YAML files with phpyaml or spyc backend.

Author
Ævar Arnfjörð Bjarmason
Niklas Laxström

Definition at line 21 of file Yaml.php.

Member Function Documentation

◆ dump()

static MediaWiki\Extension\Translate\Utilities\Yaml::dump ( array $text)
static

Definition at line 67 of file Yaml.php.

◆ load()

static MediaWiki\Extension\Translate\Utilities\Yaml::load ( string $file)
static

Definition at line 61 of file Yaml.php.

◆ loadString()

static MediaWiki\Extension\Translate\Utilities\Yaml::loadString ( string $text)
static

Definition at line 22 of file Yaml.php.


The documentation for this class was generated from the following file: