Yoast\WP\SEO\MyYoast_Client\Infrastructure\Registration
Client_Registration::__construct
Client_Registration constructor.
Метод класса: Client_Registration{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$Client_Registration = new Client_Registration(); $Client_Registration->__construct( $discovery_client, $key_pair_manager, $encryption, $issuer_config, $lock_helper, $http_client );
- $discovery_client(Discovery_Client) (обязательный)
- The discovery client.
- $key_pair_manager(Key_Pair_Manager) (обязательный)
- The key pair manager.
- $encryption(Encryption) (обязательный)
- The encryption service.
- $issuer_config(Issuer_Config) (обязательный)
- The issuer configuration.
- $lock_helper(Lock_Helper) (обязательный)
- The lock helper.
- $http_client(HTTP_Client) (обязательный)
- The HTTP client.
Код Client_Registration::__construct() Client Registration:: construct Yoast 27.7
public function __construct(
Discovery_Client $discovery_client,
Key_Pair_Manager $key_pair_manager,
Encryption $encryption,
Issuer_Config $issuer_config,
Lock_Helper $lock_helper,
HTTP_Client $http_client
) {
$this->discovery_client = $discovery_client;
$this->key_pair_manager = $key_pair_manager;
$this->encryption = $encryption;
$this->issuer_config = $issuer_config;
$this->lock_helper = $lock_helper;
$this->http_client = $http_client;
$this->logger = new NullLogger();
}