for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Samerior\MobileMoney\Mpesa\Library;
use GuzzleHttp\ClientInterface;
/**
* Class Core
*
* @package Samerior\MobileMoney\Mpesa\Library
*/
class Core
{
* @var ClientInterface
public $client;
* @var Authenticator
public $auth;
* Core constructor.
* @param ClientInterface $client
* @throws \Samerior\MobileMoney\Mpesa\Exceptions\MpesaException
public function __construct(ClientInterface $client)
$this->client = $client;
$this->auth = new Authenticator($this);
}