🇳🇦🇲🇪♯➤ webm004.cluster127.gra.hosting.ovh.net 🇻♯➤ 6.18.42-ovh-vps-grsec-zfs+ #1 SMP 🇾♯➤ 2026
𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 54.36.91.62 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.223
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ _dyuweyrj4,_dyuweyrj4r,dl
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/docteuh/www/cache-store-log/analysis-features//analysis-feature.php
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Editors\Domain\Analysis_Features;
/**
* This class describes a single Analysis feature and if it is enabled.
*/
class Analysis_Feature {
/**
* If the feature is enabled.
*
* @var bool
*/
private $is_enabled;
/**
* What the identifier of the feature is.
*
* @var string
*/
private $name;
/**
* What the identifier is for the old script data array.
*
* @var string
*/
private $legacy_key;
/**
* The constructor.
*
* @param bool $is_enabled If the feature is enabled.
* @param string $name What the identifier of the feature is.
* @param string $legacy_key What the identifier is for the old script data array.
*/
public function __construct( bool $is_enabled, string $name, string $legacy_key ) {
$this->is_enabled = $is_enabled;
$this->name = $name;
$this->legacy_key = $legacy_key;
}
/**
* If the feature is enabled.
*
* @return bool If the feature is enabled.
*/
public function is_enabled(): bool {
return $this->is_enabled;
}
/**
* Gets the identifier.
*
* @return string The feature identifier.
*/
public function get_name(): string {
return $this->name;
}
/**
* Return this object represented by a key value array.
*
* @return array<string, bool> Returns the name and if the feature is enabled.
*/
public function to_array(): array {
return [ $this->name => $this->is_enabled ];
}
/**
* Returns this object represented by a key value structure that is compliant with the script data array.
*
* @return array<string, bool> Returns the legacy key and if the feature is enabled.
*/
public function to_legacy_array(): array {
return [ $this->legacy_key => $this->is_enabled ];
}
}