Searched refs:dir (Results 1 – 4 of 4) sorted by relevance
22 private $dir; variable in App\\Utils\\Cache32 public function __construct(string $dir) argument34 $this->dir = $dir;37 if (!file_exists($this->dir)) {38 mkdir($this->dir, 0777, true);39 chmod($this->dir, 0777);43 if (!is_dir($this->dir)) {62 file_put_contents($this->dir.'/'.$key.'.php', $string);74 $file = $this->dir.'/'.$key.'.php';98 $file = $this->dir.'/'.$key.'.php';[all …]
32 private $dir; variable in App\\Utils\\Uploader67 public function setDir(string $dir): void argument69 $this->dir = $dir;135 $destination = $this->dir.'/'.$this->destinationFileName;177 if (!file_exists($this->dir.'/'.$newName)) {
16 private $dir; variable in App\\Template\\Engine43 public function __construct(string $dir) argument45 if (!is_dir($dir)) {46 throw new \Exception($dir.' is missing or not a valid directory.');49 $this->dir = $dir;96 $this->dir,118 if (!is_file($this->dir.'/'.$template)) {139 include $this->dir.'/'.$this->current;
16 private $dir; variable in App\\Template\\Context64 string $dir, argument68 $this->dir = $dir;152 return include $this->dir.'/'.$template;
Completed in 10 milliseconds