CoreFiles by mySites.guru
WithHttpTransporterInterface.php30 lines, 813 bytes, from wordpress-7.0-beta1.zip
Raw History Compare with 6.9-beta4
md5
f6d4fa94db69f65fd497b1de1852cd74
sha1
cc5966ce443d6ff3f6fc972685c1492eb4c697a0
sha256
56c04994ccdf40c33c2eb6667f78466dcfad8c309cde203b4e9d9547de9107e4
<?php

declare (strict_types=1);
namespace WordPress\AiClient\Providers\Http\Contracts;

/**
 * Interface for models that require HTTP transport capabilities.
 *
 * @since 0.1.0
 */
interface WithHttpTransporterInterface
{
    /**
     * Sets the HTTP transporter.
     *
     * @since 0.1.0
     *
     * @param HttpTransporterInterface $transporter The HTTP transporter instance.
     * @return void
     */
    public function setHttpTransporter(\WordPress\AiClient\Providers\Http\Contracts\HttpTransporterInterface $transporter): void;
    /**
     * Returns the HTTP transporter.
     *
     * @since 0.1.0
     *
     * @return HttpTransporterInterface The HTTP transporter instance.
     */
    public function getHttpTransporter(): \WordPress\AiClient\Providers\Http\Contracts\HttpTransporterInterface;
}

The same content is in 40 releases, WordPress 7.0-beta1 to 7.2-beta5. See them all, or every version of this file.