public function __sleep()
{
$result = array();
$reflect = new \ReflectionClass($this);
$propList = $reflect->getProperties();
foreach ($propList as $prop) {
if ($prop->isStatic() === true) {
continue;
}
$result[] = $prop->name;
}
$this->log('Serialized');
return $result;
}