/** * @return array */ public function jsonSerialize() { $data = parent::jsonSerialize(); $data['vUser'] = $this->vUser; return $data; }
/** * @param FileModel $fileModel */ public function handle(FileModel $fileModel) { $handler = $this->handlerFactory->getHandler($fileModel->getFileHandler()); $handler->handle($fileModel); }