diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-01-24 21:07:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 21:07:49 +0100 |
commit | b8805fad03ce199cfc2d7fe910e8bfe38be840b2 (patch) | |
tree | abab8726f1c71ddc8a0d1d35f1123dd219d1245d /src/Wallabag/CoreBundle/Helper/EntriesExport.php | |
parent | afaee1cc0a0e2902e9cd9c0117e9aa6f90fdf662 (diff) | |
parent | 3b0380f049d408f0721e28218170c562153a56e5 (diff) | |
download | wallabag-b8805fad03ce199cfc2d7fe910e8bfe38be840b2.tar.gz wallabag-b8805fad03ce199cfc2d7fe910e8bfe38be840b2.tar.zst wallabag-b8805fad03ce199cfc2d7fe910e8bfe38be840b2.zip |
Merge pull request #2774 from wallabag/cli-export
add cli export
Diffstat (limited to 'src/Wallabag/CoreBundle/Helper/EntriesExport.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Helper/EntriesExport.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Helper/EntriesExport.php b/src/Wallabag/CoreBundle/Helper/EntriesExport.php index 4bf292a4..93c01fcb 100644 --- a/src/Wallabag/CoreBundle/Helper/EntriesExport.php +++ b/src/Wallabag/CoreBundle/Helper/EntriesExport.php | |||
@@ -89,6 +89,11 @@ class EntriesExport | |||
89 | throw new \InvalidArgumentException(sprintf('The format "%s" is not yet supported.', $format)); | 89 | throw new \InvalidArgumentException(sprintf('The format "%s" is not yet supported.', $format)); |
90 | } | 90 | } |
91 | 91 | ||
92 | public function exportJsonData() | ||
93 | { | ||
94 | return $this->prepareSerializingContent('json'); | ||
95 | } | ||
96 | |||
92 | /** | 97 | /** |
93 | * Use PHPePub to dump a .epub file. | 98 | * Use PHPePub to dump a .epub file. |
94 | * | 99 | * |