Class

eZ\Bundle\EzPublishIOBundle\Migration\MigrationHandler

abstract class MigrationHandler implements MigrationHandlerInterface

The migration handler sets up from/to IO data handlers, and provides logging, for file migrators and listers.

Methods

__construct(HandlerFactory $metadataHandlerFactory, HandlerFactory $binarydataHandlerFactory, LoggerInterface $logger = null)

MigrationHandlerInterface setIODataHandlersByIdentifiers(string $fromMetadataHandlerIdentifier, string $fromBinarydataHandlerIdentifier, string $toMetadataHandlerIdentifier, string $toBinarydataHandlerIdentifier)

Set the from/to handlers based on identifiers.

Details

at line 38
public __construct(HandlerFactory $metadataHandlerFactory, HandlerFactory $binarydataHandlerFactory, LoggerInterface $logger = null)

Parameters

HandlerFactory $metadataHandlerFactory
HandlerFactory $binarydataHandlerFactory
LoggerInterface $logger

at line 48
public MigrationHandlerInterface setIODataHandlersByIdentifiers(string $fromMetadataHandlerIdentifier, string $fromBinarydataHandlerIdentifier, string $toMetadataHandlerIdentifier, string $toBinarydataHandlerIdentifier)

Set the from/to handlers based on identifiers.

Returns the MigrationHandler.

Parameters

string $fromMetadataHandlerIdentifier
string $fromBinarydataHandlerIdentifier
string $toMetadataHandlerIdentifier
string $toBinarydataHandlerIdentifier

Return Value

MigrationHandlerInterface