Your ROOT_URL in app.ini is https://code.exacti.com.br/ but you are visiting https://git.exacti.com.br/ExacTI/phacil-framework/src/commit/36897c78465be587772396d2168858ca95dbab52/system/engine/interfaces/serializer.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
A super easy PHP Framework for web development! https://github.com/exacti/phacil-framework

39 lines
860 B

<?php
/**
* Copyright © 2022 ExacTI Technology Solutions. All rights reserved.
* GPLv3 General License.
* https://exacti.com.br
* Phacil PHP Framework - https://github.com/exacti/phacil-framework
* @author Bruno O. Notario <bruno@exacti.com.br>
*/
namespace Phacil\Framework\Interfaces;
/**
* Interface for serializing
*
* @api
* @since 2.0.0
*/
interface Serializer
{
/**
* Serialize data into string
*
* @param string|int|float|bool|array|null $data
* @return string|bool
* @throws \Phacil\Framework\Exception\InvalidArgumentException
* @since 2.0.0
*/
public function serialize($data);
/**
* Unserialize the given string
*
* @param string $string
* @return string|int|float|bool|array|null
* @throws \Phacil\Framework\Exception\InvalidArgumentException
* @since 2.0.0
*/
public function unserialize($string);
}