for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types = 1);
namespace Diglabby\Doika\Services\PaymentGateways;
final class BePaidApiContext
{
/** @var string */
public $marketId;
public $marketKey;
/** @var bool */
public $live;
public function __construct(array $context)
$this->marketId = $context['marketId'];
$this->marketKey = $context['marketKey'];
$this->live = (bool) $context['live'];
}