mirror of
https://gh.wpcy.net/https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-04-27 01:22:18 +08:00
27 lines
855 B
PHP
27 lines
855 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace WooCommerce\PayPalCommerce\Vendor\Dhii\Collection;
|
|
|
|
use WooCommerce\PayPalCommerce\Vendor\Psr\Container\ContainerExceptionInterface;
|
|
/**
|
|
* Something that can determine the existence of a key.
|
|
*/
|
|
interface HasCapableInterface
|
|
{
|
|
/**
|
|
* Determines whether this instance has the specified key.
|
|
*
|
|
* @param string $key The key to check for.
|
|
*
|
|
* @return bool True if the key exists; false otherwise.
|
|
*
|
|
* @throws ContainerExceptionInterface If problem determining.
|
|
*
|
|
* @psalm-suppress PossiblyUnusedMethod
|
|
* @psalm-suppress InvalidThrow
|
|
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingNativeTypeHint
|
|
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingNativeTypeHint
|
|
*/
|
|
public function has($key);
|
|
}
|