1: <?php
2: namespace Ctct\Components\EmailMarketing;
3:
4: use Ctct\Components\Component;
5:
6: 7: 8: 9: 10: 11: 12:
13: class ClickThroughDetails extends Component
14: {
15: 16: 17: 18:
19: public $url;
20:
21: 22: 23: 24:
25: public $url_uid;
26:
27: 28: 29: 30:
31: public $click_count;
32:
33: 34: 35: 36: 37:
38: public static function create(array $props)
39: {
40: $click_through_details = new ClickThroughDetails();
41: $click_through_details->url = parent::getValue($props, "url");
42: $click_through_details->url_uid = parent::getValue($props, "url_uid");
43: $click_through_details->click_count = parent::getValue($props, "click_count");
44: return $click_through_details;
45: }
46: }
47: