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

deprecate the phpcr loader as CmfMediaBundle provides a better one now. #243

Merged
merged 1 commit into from
Sep 18, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Changelog
=========

* **2013-09-17**: [PHPCR loader] DoctrinePHPCRLoader is now deprecated, as the
CmfMediaBundle provides a more reliable loader that is already provided as a
service. See http://symfony.com/doc/master/cmf/bundles/media.html#liipimagine
4 changes: 4 additions & 0 deletions Imagine/Data/Loader/DoctrinePHPCRLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
use Imagine\Image\ImagineInterface;
use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;

/**
* @deprecated This class is replaced by the loader of the CmfMediaBundle
* and will be removed in LiipImagineBundle 1.0
*/
class DoctrinePHPCRLoader extends FileSystemLoader
{
/**
Expand Down
29 changes: 0 additions & 29 deletions Resources/doc/data-loader/doctrine-phpcr.md

This file was deleted.

7 changes: 6 additions & 1 deletion Resources/doc/data-loaders.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
# Built-In DataLoader

* [DoctrinePHPCR](data-loader/doctrine-phpcr.md)
* [MongoDB GridFS](data-loader/gridfs.md)
* [Stream](data-loader/stream.md)

# Other data loaders

* [Doctrine PHPCR-ODM](http://symfony.com/doc/master/cmf/bundles/media.html#liipimagine)
You can include the CmfMediaBundle alone if you just want to use the images
but no other CMF features.

# Custom image loaders

The ImagineBundle allows you to add your custom image loader classes. The only
Expand Down