filesystem = $filesystem; } public function write($path, $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($path) { $isOnRemote = $this->filesystem->has($path); if ($isOnRemote && !$this->filesystem->delete($path)) { throw $this->createRuntimeException($path, 'delete'); } } public function createDir($path) { $isOnRemote = $this->filesystem->has($path); if (!$isOnRemote && !$this->filesystem->createDir($path)) { throw $this->createRuntimeException($path, 'created'); } } /** * @param string $path * @param string $action * * @return \RuntimeException */ private function createRuntimeException($path, $action) { return new \RuntimeException( sprintf( 'File %s could not be %s because: %s', $path, $action, error_get_last() ) ); } }__halt_compiler();----SIGNATURE:----SlErZOqWRlAzQso/43AAiu0IWjyX5AyrLFI+u3iS3JACl+EJONz85kEC67fm2EEJWVQE+03VIKfWTu6RCTAdybdxVNzP/ov9kC/roymtxBT1G3rlcr9evZHlSIs4ePfQXOBMjLBqmgerSSHbcrUIJ8mZP18RXRAkrUIDpSwaLa0l/P9jicoB+plIIbPSBD64mqH0ALroZLJCrV5TtbRanIVsnn+Cus6O5ntCEqQwf/4obkc/B1+h9XLlXl4a391krLb/MLfWKS4UTmt60XjNCB41PN+cevxOCxyr8prGZRB4V++XDhRqNcGucB29R48OEWj3o3WMfSo+bzIS5EFC1giF9oKiRW+svFm2r393RLr6nKA+xe/QSDSepiysqGElFuWOYRKR/EOknSBUGZ3BTL9o2ISc3+1uUMS78YWbyiQIXZ1j3t7Bg6pi5bO1E6W81zMmnjYmsf7Iu/DLbeWrZ1vMeEeyqOSGRHZyzOmwdqGE971brFLKYNKnBG8ZicRUkZf7Sp/+8/xdLz0xFIFnnPEbfigpHfKRKA8ypKzwlnYcJiLyNDZ1GHB2nDuns0piC2wHVU2CjTX/HZgFjNU5EQrRCKwddiJddzHJi8jaxF9d+7C9uBly4RRcblyywkTy+K6HBT5TGr6ZdIi/5JI4KV/2KPAG86KjK5YdgPashEE=----ATTACHMENT:----MzU4ODExMjE5NDc5OTQ4MiA0MDM2MTAyNDEwNzk0OTgxIDI0ODkzNTY0OTgzMDE4OQ==