: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
namespace WordfenceLS\View;
* Represents a tab in the UI.
* @package Wordfence2FA\View
* @property string $tabTitle
* @property string $pageTitle
public function __construct($id, $a, $tabTitle, $pageTitle, $active = false) {
$this->_tabTitle = $tabTitle;
$this->_pageTitle = $pageTitle;
$this->_active = $active;
public function __get($name) {
return $this->_pageTitle;
throw new \OutOfBoundsException('Invalid key: ' . $name);