| 1 | <?php declare(strict_types = 1);  | 
            ||
| 18 | class YamlParser  | 
            ||
| 19 | { | 
            ||
| 20 | /**  | 
            ||
| 21 | * @var Parser  | 
            ||
| 22 | */  | 
            ||
| 23 | private $parser;  | 
            ||
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Construct the wrapper  | 
            ||
| 27 | */  | 
            ||
| 28 | public function __construct()  | 
            ||
| 32 | |||
| 33 | /**  | 
            ||
| 34 | * @param string $string  | 
            ||
| 35 | *  | 
            ||
| 36 | * @return mixed  | 
            ||
| 37 | */  | 
            ||
| 38 | public function parse(string $string)  | 
            ||
| 45 | |||
| 46 | /**  | 
            ||
| 47 | * @see https://github.com/symfony/symfony/pull/17711  | 
            ||
| 48 | *  | 
            ||
| 49 | * @param mixed $data  | 
            ||
| 50 | *  | 
            ||
| 51 | * @return mixed  | 
            ||
| 52 | */  | 
            ||
| 53 | private function fixHashMaps(&$data)  | 
            ||
| 72 | }  | 
            ||
| 73 |