__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace RocketTheme\Toolbox\ArrayTraits;
/**
* Implements \Serializable interface.
*
* @package RocketTheme\Toolbox\ArrayTraits
* @author RocketTheme
* @license MIT
*/
trait Serializable
{
/**
* Returns string representation of the object.
*
* @return string Returns the string representation of the object.
* @final
* @deprecated Override `__serialize()` instead.
*/
#[\ReturnTypeWillChange]
public function serialize()
{
return serialize($this->__serialize());
}
/**
* Called during unserialization of the object.
*
* @param string $serialized The string representation of the object.
* @return void
* @final
* @deprecated Override `__unserialize()` instead.
*/
#[\ReturnTypeWillChange]
public function unserialize($serialized)
{
$this->__unserialize(unserialize($serialized));
}
/**
* @return array
*/
#[\ReturnTypeWillChange]
public function __serialize()
{
return $this->items;
}
/**
* @param array $data
* @return void
*/
#[\ReturnTypeWillChange]
public function __unserialize($data)
{
$this->items = $data;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ArrayAccess.php | File | 1.69 KB | 0664 |
|
| ArrayAccessWithGetters.php | File | 1.29 KB | 0664 |
|
| Constructor.php | File | 431 B | 0664 |
|
| Countable.php | File | 408 B | 0664 |
|
| Export.php | File | 1.22 KB | 0664 |
|
| ExportInterface.php | File | 624 B | 0664 |
|
| Iterator.php | File | 1.69 KB | 0664 |
|
| NestedArrayAccess.php | File | 5.62 KB | 0664 |
|
| NestedArrayAccessWithGetters.php | File | 1.3 KB | 0664 |
|
| Serializable.php | File | 1.21 KB | 0664 |
|