$errors = $validator->validate($product); if (count($errors) > 0) { return new Response((string) $errors, 400); } // ... } } Although the Product entity ...
確定! 回上一頁