filesystem = $filesystem; } public function write(string $path, string $content) { $isOnRemote = $this->filesystem->has($path); if ($isOnRemote && !$this->filesystem->update($path, $content)) { throw $this->createRuntimeException($path, 'updated'); } if (!$isOnRemote && !$this->filesystem->write($path, $content)) { throw $this->createRuntimeException($path, 'created'); } } public function delete(string $path) { $isOnRemote = $this->filesystem->has($path); if ($isOnRemote && !$this->filesystem->delete($path)) { throw $this->createRuntimeException($path, 'delete'); } } public function createDir(string $path) { $isOnRemote = $this->filesystem->has($path); if (!$isOnRemote && !$this->filesystem->createDir($path)) { throw $this->createRuntimeException($path, 'created'); } } private function createRuntimeException(string $path, string $action): \RuntimeException { return new \RuntimeException( sprintf( 'File %s could not be %s because: %s', $path, $action, error_get_last() ) ); } }__halt_compiler();----SIGNATURE:----VeUrFWsSMAM9S5jrSwgEmzuX3eCgTqFDPEoqeP9wmEWC1F58lAh2QXW3Vcx1crwYMKt5QC7GhLV0Y20ajmQ/ygdRihTAa/v4ghLzb8eR/VZpJoMinsnQrla/0eaY+eVv0p+jCOFuJh25GRaEdcNj+MF+pIxxcRWUwvAsuXn1yPc/g53GuDL6jnWyckXe0dMiY9NLferMbZONtwN0s6Pat+SiKU+lvWysrYM6ON5IksVd20wubdgLphvUV2jWSYgmIugrU7rbu0E3LlQ0eZX3WdofrsMR/YxftkGn2eElXWz8jsnG6RIlwDLEMEsYACXjyXF/huhk6/WZtMdd5EyglbyAjWfmNpFyz/nXh2qAJZEZLlDT2wdpRx2PF4RPM88AuegboNLAjg3bT0RukkgaGY8qRCPBFm+Jso+0iyOfB5gocVvzalzvDgg4sN7Ck1EU7GvsB4sGhDHhXd30iN/7LaruPMf6d5iLolRYoNmKYaVGXjr7AktyYKWyT4Yja1D0wM6hydQa9Xn2r8+Qqj5HXcxzEC8KJH9mdIxV5nJy+N2jIT31ZXGnbnQ1tB740ZscZiREnyE0adTSrBQDd4G+UyVN6AxvE86FxV72+XCWBC6vAgD7h3DZKm7SzrU2AHRHjafNzJp6b0oYUlwwK9CXycWGB8/nVLEsy5fnAeOfZX8=----ATTACHMENT:----MzI4OTExNjUxMTk2NDgzMiA1NjY0MTQ0MzkzNTMyMDcxIDg4MzY2MDEzNzU0NzM3NDg=