PHP Class Bitpay\Application

Inheritance: implements bitpay\ApplicationInterface
Show file Open project: bitpay/php-client

Protected Properties

Property Type Description
$orgs array
$users array

Public Methods

Method Description
__construct ( )
addOrg ( OrgInterface $org ) : bitpay\ApplicationInterface Add org to stack
addUser ( bitpay\UserInterface $user ) : bitpay\ApplicationInterface Add user to stack
getOrgs ( )
getUsers ( )

Method Details

__construct() public method

public __construct ( )

addOrg() public method

Add org to stack
public addOrg ( OrgInterface $org ) : bitpay\ApplicationInterface
$org OrgInterface
return bitpay\ApplicationInterface

addUser() public method

Add user to stack
public addUser ( bitpay\UserInterface $user ) : bitpay\ApplicationInterface
$user bitpay\UserInterface
return bitpay\ApplicationInterface

getOrgs() public method

public getOrgs ( )

getUsers() public method

public getUsers ( )

Property Details

$orgs protected property

protected array $orgs
return array

$users protected property

protected array $users
return array