![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/public_html/wp-content/plugins/wordfence/vendor/wordfence/mmdb-reader/src/ |
<?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); } }