/** * @return array */ private function convertRealObjectToRawResponse(FileReportModel $file) { return ['type' => 'file', 'timestamp' => $file->getCreationDate()->getTimestamp(), 'path' => $file->getFilename(), 'size' => $file->getSize()]; }