Sulu\Bundle\MediaBundle\Controller\MediaController::putAction PHP Method

putAction() public method

Edits the existing media with the given id.
public putAction ( integer $id, Request $request ) : Response
$id integer The id of the media to update
$request Symfony\Component\HttpFoundation\Request
return Symfony\Component\HttpFoundation\Response
    public function putAction($id, Request $request)
    {
        return $this->saveEntity($id, $request);
    }