public function map(EntityContract $entity, array $data) { $entity->setMimeType($data['post_mime_type']); }