OpenXE/classes/Modules/SystemConfig/Interfaces/SystemConfigSerializableInterface.php

32 lines
536 B
PHP
Raw Normal View History

2021-05-21 08:49:41 +02:00
<?php
declare(strict_types=1);
namespace Xentral\Modules\SystemConfig\Interfaces;
interface SystemConfigSerializableInterface
{
/**
* @param array $array
*
* @return self
*/
public static function fromArray(array $array): self;
/**
* @return string
*/
public static function getSystemConfigNamespace(): string;
/**
* @return string
*/
public static function getSystemConfigKey(): string;
/**
* @return array
*/
public function toArray(): array;
}