Lines Matching refs:dir
14 private $dir; variable in Metadata\\Cache\\FileCache
16 public function __construct(string $dir) argument
18 if (!is_dir($dir)) {
19 … throw new \InvalidArgumentException(sprintf('The directory "%s" does not exist.', $dir));
22 $this->dir = rtrim($dir, '\\/');
30 $path = $this->dir . '/' . strtr($class, '\\', '-') . '.cache.php';
43 if (!is_writable($this->dir)) {
44 … throw new \InvalidArgumentException(sprintf('The directory "%s" is not writable.', $this->dir));
47 $path = $this->dir . '/' . strtr($metadata->name, '\\', '-') . '.cache.php';
49 $tmpFile = tempnam($this->dir, 'metadata-cache');
83 $path = $this->dir . '/' . strtr($class, '\\', '-') . '.cache.php';