/** * {@inheritdoc} */ public function load($path) { $yaml = $this->filesys->read($path); try { return $this->parser->parse($yaml); } catch (ParseException $e) { throw new LoadException($e->getMessage(), $e->getCode(), $e); } }
/** * {@inheritdoc} */ public function load($path) { $yaml = $this->filesys->read($path); try { return $this->parser->parse($yaml); } catch (ParseException $e) { throw new LoadException($e->getMessage(), $e->getCode(), $e); } }