alexander-emelyanov/tradologic-api-client

View on GitHub
src/Request.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace TradoLogic;

class Request
{
    public function __construct($data)
    {
        foreach ($data as $key => $value) {
            if (property_exists($this, $key)) {
                $this->{$key} = $value;
            }
        }
    }
}