<?php namespace Ctct\Components\Activities; use Ctct\Components\Component; class ActivityError extends Component { public $message; public $line_number; public $email_address; public static function create(array $props) { $activityError = new ActivityError(); $activityError->message = parent::getValue($props, "message"); $activityError->line_number = parent::getValue($props, "line_number"); $activityError->email_address = parent::getValue($props, "email_address"); return $activityError; } } 