芝麻web文件管理V1.00
编辑当前文件:/home/pulsehostuk9/public_html/portal.pulsehost.co.uk/vendor/bitpay/php-client/src/Bitpay/Key.php
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)); } }