public function __construct(ResultMessage $msg) { $this->resultMessage = $msg; parent::__construct($msg->getArguments()); }