/**
* Displays a form to edit an existing Offer entity.
*
* @Route("/{id}/edit", name="offer_edit")
* @Method({"GET", "POST"})
* @Security("has_role('ROLE_USER')")
*/
public function editAction(Request $request, Offer $offer)
{ // ...
/**
* @Security("is_granted('OFFER_OWNER', offer) and has_role('ROLE_USER')"")
*/
public function editAction(Request $request, Offer $offer)
{
}