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 18 of file Yaml.php.

Member Function Documentation

◆ dump()

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

Definition at line 64 of file Yaml.php.

◆ load()

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

Definition at line 58 of file Yaml.php.

◆ loadString()

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

Definition at line 19 of file Yaml.php.


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