403Webshell
Server IP : 62.60.133.156  /  Your IP : 216.73.217.51
Web Server : LiteSpeed
System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64
User : mimradmin ( 1166)
PHP Version : 7.4.33
Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/mimradmin/www/wp-content/plugins/woocommerce-old/src/Api/Infrastructure/Schema/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/mimradmin/www/wp-content/plugins/woocommerce-old/src/Api/Infrastructure/Schema/aliases.php
<?php
/**
 * Class-alias bootstrap for the Api\Infrastructure\Schema surface.
 *
 * Some symbols in the surface — ResolveInfo and StringValueNode — cannot be
 * subclasses because the GraphQL engine constructs them itself and hands them
 * to resolver code. A subclass would be a distinct type and fail resolver
 * parameter type-hint checks. Instead we register them as class_alias of
 * their engine counterparts so the two FQCNs resolve to the same class.
 *
 * This file is loaded eagerly via composer's `autoload.files` entry (which
 * the Jetpack autoloader in turn exposes through its filemap), so the aliases
 * are available before any resolver is invoked.
 */

declare(strict_types=1);

class_alias(
	\Automattic\WooCommerce\Vendor\GraphQL\Type\Definition\ResolveInfo::class,
	'Automattic\\WooCommerce\\Api\\Infrastructure\\Schema\\ResolveInfo'
);

class_alias(
	\Automattic\WooCommerce\Vendor\GraphQL\Language\AST\StringValueNode::class,
	'Automattic\\WooCommerce\\Api\\Infrastructure\\Schema\\AST\\StringValueNode'
);

Youez - 2016 - github.com/yon3zu