eZ\Publish\Core\Persistence\Legacy\Content\StorageHandler::__construct PHP Method

__construct() public method

Creates a new storage handler.
public __construct ( StorageRegistry $storageRegistry, array $context )
$storageRegistry StorageRegistry
$context array
    public function __construct(StorageRegistry $storageRegistry, array $context)
    {
        $this->storageRegistry = $storageRegistry;
        $this->context = $context;
    }