Lines Matching refs:path
107 $path = $this->dir.'/'.strtr($key, '\\', '-').'.cache.php';
108 if (!is_file($path)) {
110 $this->saveCacheFile($path, $annot);
116 && filemtime($path) < filemtime($filename)) {
117 @unlink($path);
120 $this->saveCacheFile($path, $annot);
124 return $this->loadedAnnotations[$key] = include $path;
142 $path = $this->dir.'/'.strtr($key, '\\', '-').'.cache.php';
143 if (!is_file($path)) {
145 $this->saveCacheFile($path, $annot);
151 && filemtime($path) < filemtime($filename)) {
152 @unlink($path);
155 $this->saveCacheFile($path, $annot);
159 return $this->loadedAnnotations[$key] = include $path;
177 $path = $this->dir.'/'.strtr($key, '\\', '-').'.cache.php';
178 if (!is_file($path)) {
180 $this->saveCacheFile($path, $annot);
186 && filemtime($path) < filemtime($filename)) {
187 @unlink($path);
190 $this->saveCacheFile($path, $annot);
194 return $this->loadedAnnotations[$key] = include $path;
200 * @param string $path
205 private function saveCacheFile($path, $data) argument
227 if (false === rename($tempfile, $path)) {
229 throw new \RuntimeException(sprintf('Unable to rename %s to %s', $tempfile, $path));