File manager - Edit - /home/proidvn/site.proid.vn/wp-content/plugins/woocommerce/lib/packages/GraphQL/Utils/InterfaceImplementations.php
Back
<?php declare(strict_types=1); namespace Automattic\WooCommerce\Vendor\GraphQL\Utils; use Automattic\WooCommerce\Vendor\GraphQL\Type\Definition\InterfaceType; use Automattic\WooCommerce\Vendor\GraphQL\Type\Definition\ObjectType; /** * A way to track interface implementations. * * Distinguishes between implementations by ObjectTypes and InterfaceTypes. */ class InterfaceImplementations { /** @var array<int, ObjectType> */ private $objects; /** @var array<int, InterfaceType> */ private $interfaces; /** * @param array<int, ObjectType> $objects * @param array<int, InterfaceType> $interfaces */ public function __construct(array $objects, array $interfaces) { $this->objects = $objects; $this->interfaces = $interfaces; } /** @return array<int, ObjectType> */ public function objects(): array { return $this->objects; } /** @return array<int, InterfaceType> */ public function interfaces(): array { return $this->interfaces; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Generation time: 0.12 |
proxy
|
phpinfo
|
Settings