public function source($path) { if (isset($this->_staged['change'][$path])) { $path = TMP . 'upgrade' . DS . end($this->_staged['change'][$path]); } return file_get_contents($path); }