1 | <?php |
||
15 | abstract class MigrationHandler implements MigrationHandlerInterface |
||
16 | { |
||
17 | /** @var \eZ\Bundle\EzPublishIOBundle\ApiLoader\HandlerFactory */ |
||
18 | private $metadataHandlerFactory; |
||
19 | |||
20 | /** @var \eZ\Bundle\EzPublishIOBundle\ApiLoader\HandlerFactory */ |
||
21 | private $binarydataHandlerFactory; |
||
22 | |||
23 | /** @var \Psr\Log\LoggerInterface */ |
||
24 | private $logger; |
||
25 | |||
26 | /** @var \eZ\Publish\Core\IO\IOMetadataHandler */ |
||
27 | protected $fromMetadataHandler; |
||
28 | |||
29 | /** @var \eZ\Publish\Core\IO\IOBinarydataHandler */ |
||
30 | protected $fromBinarydataHandler; |
||
31 | |||
32 | /** @var \eZ\Publish\Core\IO\IOMetadataHandler */ |
||
33 | protected $toMetadataHandler; |
||
34 | |||
35 | /** @var \eZ\Publish\Core\IO\IOBinarydataHandler */ |
||
36 | protected $toBinarydataHandler; |
||
37 | |||
38 | public function __construct( |
||
47 | |||
48 | final public function setIODataHandlersByIdentifiers( |
||
61 | |||
62 | final protected function logError($message) |
||
68 | |||
69 | final protected function logInfo($message) |
||
75 | |||
76 | final protected function logMissingFile($id) |
||
80 | } |
||
81 |