public function getYamlParser() { if (!empty($this->yamlParser)) { return $this->yamlParser; } return new Spyc(); }