1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php
/**
* @author @jenschude <jens.schulze@commercetools.de>
* @created: 09.02.15, 10:45
*/
namespace Commercetools\Core\Model\Common;
interface JsonDeserializeInterface extends ContextAwareInterface
{
/**
* @param array $data
* @param Context|callable $context
* @return mixed
*/
public static function fromArray(array $data, $context = null);
public function toArray();
}