protected function getPathFromPK($pk) { if (is_numeric($pk['path'])) { return $this->webFilesystem->getPath($pk['path']); } return $pk['path']; }