for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Luigel\Paymongo\Models;
class PaymentSource {
public $id;
public $type;
public function __construct($source)
{
$this->id = $source['id'];
$this->type = $source['type'];
}