<?php namespace Ctct\Components\EmailMarketing; use Ctct\Components\Component; class ClickThroughDetails extends Component { public $url; public $url_uid; public $click_count; public static function create(array $props) { $click_through_details = new ClickThroughDetails(); $click_through_details->url = parent::getValue($props, "url"); $click_through_details->url_uid = parent::getValue($props, "url_uid"); $click_through_details->click_count = parent::getValue($props, "click_count"); return $click_through_details; } } 