mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 12:37:14 +01:00
25 lines
427 B
PHP
25 lines
427 B
PHP
|
<?php
|
||
|
|
||
|
namespace Xentral\Modules\Api\Converter;
|
||
|
|
||
|
interface ConverterInterface
|
||
|
{
|
||
|
/**
|
||
|
* Wandle Array in Converter-Format (XML oder JSON)
|
||
|
*
|
||
|
* @param array $array
|
||
|
*
|
||
|
* @return string
|
||
|
*/
|
||
|
public function fromArray($array);
|
||
|
|
||
|
/**
|
||
|
* Wandle Converter-Format (XML oder JSON) zu Array
|
||
|
*
|
||
|
* @param string $data
|
||
|
*
|
||
|
* @return array
|
||
|
*/
|
||
|
public function toArray($data);
|
||
|
}
|