mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-12-26 14:40:29 +01:00
32 lines
536 B
PHP
32 lines
536 B
PHP
<?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;
|
|
}
|