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