media-bundle icon indicating copy to clipboard operation
media-bundle copied to clipboard

Gaufrette adapter - rename method

Open rmsint opened this issue 11 years ago • 1 comments

Currently not implemented, see https://github.com/symfony-cmf/MediaBundle/blob/master/Adapter/Gaufrette/CmfMediaDoctrine.php#L230

Should we rather throw an Exception? Or introduce a capabiltiies API.

public function __construct() { $this->addCapability(self::CAN_RENAME); $this->addCapability(self::CAN_REMOVE); $this->addCapability(self::CAN_WRITE); // whatever }

rmsint avatar Jul 04 '13 20:07 rmsint

I think we look at this after 1.1, when we also will look at the integration with SonataMediaBundle

rmsint avatar Aug 02 '13 12:08 rmsint