Files
2026-04-28 15:13:50 +02:00

58 lines
978 B
PHP

<?php
namespace WPO\IPS\EDI\Syntaxes\Cii\Abstracts;
use WPO\IPS\EDI\Interfaces\FormatInterface;
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
abstract class AbstractCiiFormat implements FormatInterface {
public string $syntax = 'cii';
/**
* Get the format context
*
* @return string
*/
abstract public function get_context(): string;
/**
* Get the format type code
*
* @return string
*/
abstract public function get_type_code(): string;
/**
* Get the format root element
*
* @return string
*/
abstract public function get_root_element(): string;
/**
* Get the format additional attributes
*
* @return array
*/
abstract public function get_additional_attributes(): array;
/**
* Get the format namespaces
*
* @return array
*/
abstract public function get_namespaces(): array;
/**
* Get the format structure
*
* @return array
*/
abstract public function get_structure(): array;
}