rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,76 @@
<?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Internals
* @since 7.7
*/
/**
* Class WPSEO_Replacement_Variable.
*
* This class stores the data of a single snippet variable.
*/
class WPSEO_Replacement_Variable {
/**
* The variable to use.
*
* @var string
*/
protected $variable;
/**
* The label of the replacement variable.
*
* @var string
*/
protected $label;
/**
* The description of the replacement variable.
*
* @var string
*/
protected $description;
/**
* WPSEO_Replacement_Variable constructor.
*
* @param string $variable The variable that is replaced.
* @param string $label The label of the replacement variable.
* @param string $description The description of the replacement variable.
*/
public function __construct( $variable, $label, $description ) {
$this->variable = $variable;
$this->label = $label;
$this->description = $description;
}
/**
* Returns the variable to use.
*
* @return string
*/
public function get_variable() {
return $this->variable;
}
/**
* Returns the label of the replacement variable.
*
* @return string
*/
public function get_label() {
return $this->label;
}
/**
* Returns the description of the replacement variable.
*
* @return string
*/
public function get_description() {
return $this->description;
}
}