first commit : grave core and admin plugin

This commit is contained in:
Bachir Soussi Chiadmi
2015-11-02 17:10:54 +01:00
commit ad38015ea9
1834 changed files with 200353 additions and 0 deletions
@@ -0,0 +1,34 @@
<?php
namespace RocketTheme\Toolbox\ArrayTraits;
/**
* Implements \Serializable interface.
*
* @package RocketTheme\Toolbox\ArrayTraits
* @author RocketTheme
* @license MIT
*
* @property array $items
*/
trait Serializable
{
/**
* Returns string representation of the object.
*
* @return string Returns the string representation of the object.
*/
public function serialize()
{
return serialize($this->items);
}
/**
* Called during unserialization of the object.
*
* @param string $serialized The string representation of the object.
*/
public function unserialize($serialized)
{
$this->items = unserialize($serialized);
}
}