PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
mycred
/
addons
/
buy-creds
/
gateways
/
Bitpay
<?php /** * @license Copyright 2011-2015 BitPay Inc., MIT License * see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE */ namespace Bitpay; /** * * @package Bitpay */ class Application implements ApplicationInterface { /** * @var array */ protected $users; /** * @var array */ protected $orgs; /** */ public function __construct() { $this->users = array(); $this->orgs = array(); } /** * @inheritdoc */ public function getUsers() { return $this->users; } /** * @inheritdoc */ public function getOrgs() { return $this->orgs; } /** * Add user to stack * * @param UserInterface $user * * @return ApplicationInterface */ public function addUser(UserInterface $user) { if (!empty($user)) { $this->users[] = $user; } return $this; } /** * Add org to stack * * @param OrgInterface $org * * @return ApplicationInterface */ public function addOrg(OrgInterface $org) { if (!empty($org)) { $this->orgs[] = $org; } return $this; } }
[+]
..
[-] Item.php
[edit]
[+]
Math
[+]
DependencyInjection
[-] BuyerInterface.php
[edit]
[-] Point.php
[edit]
[-] KeyInterface.php
[edit]
[-] PayoutTransactionInterface.php
[edit]
[-] PayoutInterface.php
[edit]
[-] InvoiceInterface.php
[edit]
[-] Autoloader.php
[edit]
[-] ApplicationInterface.php
[edit]
[-] KeyManager.php
[edit]
[-] Currency.php
[edit]
[-] ItemInterface.php
[edit]
[+]
Client
[+]
Util
[-] User.php
[edit]
[-] PayoutTransaction.php
[edit]
[-] PayoutInstruction.php
[edit]
[-] Key.php
[edit]
[-] Bitpay.php
[edit]
[+]
Network
[-] TokenInterface.php
[edit]
[-] PrivateKey.php
[edit]
[-] Buyer.php
[edit]
[-] Token.php
[edit]
[-] PublicKey.php
[edit]
[-] SinKey.php
[edit]
[+]
Storage
[+]
Config
[-] index.php
[edit]
[-] Bill.php
[edit]
[-] BillInterface.php
[edit]
[-] Application.php
[edit]
[-] Payout.php
[edit]
[-] Invoice.php
[edit]
[-] UserInterface.php
[edit]
[-] AccessToken.php
[edit]
[-] PayoutInstructionInterface.php
[edit]
[-] PointInterface.php
[edit]
[+]
Crypto
[-] CurrencyInterface.php
[edit]
[-] AccessTokenInterface.php
[edit]