Файловый менеджер - Редактировать - /home/harasnat/www/labour/wp-content/plugins/google-listings-and-ads/src/Value/TosAccepted.php
Назад
<?php declare( strict_types=1 ); namespace Automattic\WooCommerce\GoogleListingsAndAds\Value; defined( 'ABSPATH' ) || exit; /** * Class TosAccepted * * @package Automattic\WooCommerce\GoogleListingsAndAds\Value */ class TosAccepted implements ValueInterface { /** * @var bool */ protected $accepted; /** * @var string */ protected $message; /** * TosAccepted constructor. * * @param bool $accepted * @param string $message */ public function __construct( bool $accepted, string $message = '' ) { $this->accepted = $accepted; $this->message = $message; } /** * Get the value of the object. * * @return mixed */ public function get(): array { return [ 'accepted' => $this->accepted, 'message' => $this->message, ]; } /** * @return bool */ public function accepted(): bool { return $this->accepted; } /** * @return string */ public function message(): string { return $this->message; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка