/** * @param array $notification */ protected function __construct(array $notification) { parent::__construct($notification); $this->transaction = new Transaction($notification['payload']['transaction']); }
/** * @param array $notification */ protected function __construct(array $notification) { parent::__construct($notification); $this->block = new Block($notification['payload']['block']); }