<?php

namespace FiloBlu\Esb\Converter;

use Magento\Framework\DataObject;

/**
 * Interface ConverterInterface
 * @package FiloBlu\Esb\Converter
 */
interface ConverterInterface
{

    /**
     * @param $object
     * @return DataObject
     */
    public function convert($object): DataObject;

    /**
     * @param $object
     * @return bool
     */
    public function canConvert($object): bool;
}
