classes/Config/Loaders/CachingYamlFileLoader.php
public function load($path)
	{
		$cachePath = $this->cacheDir.'/'.md5($path);

		if ($this->shouldLoadCache($path, $cachePath)) {
			return require $cachePath;
		}

		$data = parent::load($path);

		$this->filesys->write($cachePath, '<?php return '.var_export($data, true).";\n");

		return $data;
	}
public function load($path)
	{
		$cachePath = $this->cacheDir.'/'.md5($path);

		if ($this->shouldLoadCache($path, $cachePath)) {
			return require $cachePath;
		}

		$data = parent::load($path);

		$this->filesys->write($cachePath, '<?php return '.var_export($data, true).";\n");

		return $data;
	}
{@inheritdoc}