Searched refs:validExtension (Results 1 – 2 of 2) sorted by relevance
20 private $validExtension; variable in App\\Utils\\Uploader51 public function setValidExtension(string $validExtension): void argument53 $this->validExtension = $validExtension;111 if (isset($this->validExtension) && $ext !== $this->validExtension) {112 …throw new \Exception('Error on upload: Invalid file extension. Should be .'.$this->validExtension);
17 public function testUpload(string $validExtension, array $file): void argument35 $uploader->setValidExtension($validExtension);
Completed in 4 milliseconds