| 1 | <?php |
||
| 15 | final class JsonFilesystemExporter implements ExporterInterface |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $filename = 'pages.json'; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var PageRepositoryInterface |
||
| 24 | */ |
||
| 25 | private $pageRepository; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var Serializer |
||
| 29 | */ |
||
| 30 | private $serializer; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @var Filesystem |
||
| 34 | */ |
||
| 35 | private $filesystem; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var array |
||
| 39 | */ |
||
| 40 | private $identifier; |
||
| 41 | |||
| 42 | /** |
||
| 43 | * @param PageRepositoryInterface $pageRepository |
||
| 44 | * @param Serializer $serializer |
||
| 45 | * @param Filesystem $filesystem |
||
| 46 | */ |
||
| 47 | public function __construct( |
||
| 57 | |||
| 58 | /** |
||
| 59 | * {@inheritdoc} |
||
| 60 | */ |
||
| 61 | public function setIdentifier(array $identifier = []) |
||
| 65 | |||
| 66 | /** |
||
| 67 | * {@inheritdoc} |
||
| 68 | */ |
||
| 69 | public function execute() |
||
| 77 | } |
||
| 78 |