string
... See full list
protected function getFilename($id) { $path = implode(str_split(md5($id), 12), DIRECTORY_SEPARATOR); $path = $this->directory . DIRECTORY_SEPARATOR . $path; return $path . DIRECTORY_SEPARATOR . $id . $this->extension; }