Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gaufrette adapter - rename method #15

Open
rmsint opened this issue Jul 4, 2013 · 1 comment
Open

Gaufrette adapter - rename method #15

rmsint opened this issue Jul 4, 2013 · 1 comment
Labels
Milestone

Comments

@rmsint
Copy link
Contributor

rmsint commented Jul 4, 2013

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
Copy link
Contributor Author

rmsint commented Aug 2, 2013

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

@ElectricMaxxx ElectricMaxxx added this to the 2.0 milestone Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants