����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 18.188.131.162 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/./bofirmacademy.com/vendor/braintree/braintree_php/lib/Braintree/ |
Upload File : |
<?php namespace Braintree; use JsonSerializable; /** * Braintree PHP Library. * * Braintree base class and initialization * Provides methods to child classes. This class cannot be instantiated. * */ abstract class Base implements JsonSerializable { protected $_attributes = []; /** * @ignore * don't permit an explicit call of the constructor! * (like $t = new Transaction()) */ protected function __construct() { } /** * Disable cloning of objects * * @ignore */ protected function __clone() { } /** * Accessor for instance properties stored in the private $_attributes property * * @ignore * @param string $name * @return mixed */ public function __get($name) { if (isset($this->_attributes['globalId'])) { $this->_attributes['graphQLId'] = $this->_attributes['globalId']; } if (array_key_exists($name, $this->_attributes)) { return $this->_attributes[$name]; } else { trigger_error('Undefined property on ' . get_class($this) . ': ' . $name, E_USER_NOTICE); return null; } } /** * Checks for the existence of a property stored in the private $_attributes property * * @ignore * @param string $name * @return boolean */ public function __isset($name) { return array_key_exists($name, $this->_attributes); } /** * Mutator for instance properties stored in the private $_attributes property * * @ignore * @param string $key * @param mixed $value */ public function _set($key, $value) { $this->_attributes[$key] = $value; } /** * Implementation of JsonSerializable * * @ignore * @return array */ public function jsonSerialize() { return $this->_attributes; } }