protected function addInformationalAttributes(Document $document) { $document->getFiles()->lastModified($document->getPath()); }