Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #1 of 1


Q: 

Check out this code snippet:

#[Groups(['treasure:read', 'treasure:write'])]
#[ApiProperty(readable: false, securityPostDenormalize: 'is_granted("ROLE_ADMIN")')]
public string $description;

What would happen if an admin makes a PATCH request to edit the description?

userVoice