芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/bit-alphas-ltd.com/user/project/vendor/lcobucci/jwt/src/Token/DataSet.php
*/ private $data; /** @var string */ private $encoded; /** * @param array
$data * @param string $encoded */ public function __construct(array $data, $encoded) { $this->data = $data; $this->encoded = $encoded; } /** * @param string $name * @param mixed|null $default * * @return mixed|null */ public function get($name, $default = null) { return $this->has($name) ? $this->data[$name] : $default; } /** * @param string $name * * @return bool */ public function has($name) { return array_key_exists($name, $this->data); } /** @return array
*/ public function all() { return $this->data; } /** @return string */ public function toString() { return $this->encoded; } }