PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
mycred
/
addons
/
buy-creds
/
gateways
/
Bitpay
<?php /** * @license Copyright 2011-2014 BitPay Inc., MIT License * see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE */ namespace Bitpay; /** * Abstract object that is used for Public, Private, and SIN keys * * @package Bitcore */ abstract class Key extends Point implements KeyInterface { /** * @var string */ protected $hex; /** * @var string */ protected $dec; /** * @var string */ protected $id; /** * @param string $id */ public function __construct($id = null) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * Returns a new instance of self. * * @param string $id * @return \Bitpay\KeyInterface */ public static function create($id = null) { $class = get_called_class(); return new $class($id); } /** * @return string */ public function getHex() { return $this->hex; } /** * @return string */ public function getDec() { return $this->dec; } /** * @inheritdoc */ public function serialize() { return serialize( array( $this->id, $this->x, $this->y, $this->hex, $this->dec, ) ); } /** * @inheritdoc */ public function unserialize($data) { list( $this->id, $this->x, $this->y, $this->hex, $this->dec ) = unserialize($data); } /** * @return boolean */ public function isGenerated() { return (!empty($this->hex)); } }
[+]
..
[-] 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]