?
Current Path : /home1/savoy/public_html/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/Node.php |
<?php namespace Wordfence\MmdbReader; class Node { const SIDE_LEFT = 0; const SIDE_RIGHT = 1; private $reader; private $data; private $left, $right; public function __construct($reader, $data) { $this->reader = $reader; $this->data = $data; } public function getRecord($side) { $value = $this->reader->extractRecord($this->data, $side); return new NodeRecord($this->reader, $value); } public function getLeft() { return $this->getRecord(self::SIDE_LEFT); } public function getRight() { return $this->getRecord(self::SIDE_RIGHT); } }