public function delete($uuid) { if (!$this->has($uuid)) { throw new \InvalidArgumentException(sprintf('Cannot find run with UUID "%s"', $uuid)); } $this->filesystem->remove($this->getPath($uuid)); }