/**
  * SystemPropertyPayload constructor.
  * @param $property
  */
 public function __construct($property)
 {
     $prop['property'][$property['propertyName']] = $property['propertyValue'];
     parent::__construct($prop);
 }
Example #2
0
 /**
  * {@inheritdoc}
  * @see \Scalr\System\Zmq\Cron\AbstractPayload::__sleep()
  */
 public function __sleep()
 {
     return array_merge(parent::__sleep(), ['message']);
 }