for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CodePhix\Asaas;
use CodePhix\Asaas\Assinatura;
use CodePhix\Asaas\Cliente;
use CodePhix\Asaas\Cobranca;
use CodePhix\Asaas\Notificacao;
use CodePhix\Asaas\Transferencia;
use CodePhix\Asaas\Webhook;
class Asaas {
public $cidade;
public $assinatura;
public $cliente;
public $cobranca;
public $notificacao;
public $transferencia;
public $webhook;
public function __construct($token, $status = false) {
$connection = new Connection($token, ((!empty($status)) ? $status : 'producao'));
$this->assinatura = new Assinatura($connection);
$this->cidade = new Cidades($connection);
$this->cliente = new Cliente($connection);
$this->cobranca = new Cobranca($connection);
$this->notificacao = new Notificacao($connection);
$this->transferencia = new Transferencia($connection);
$this->webhook = new Webhook($connection);
}