Inpsyde\MultilingualPress\Common\Nonce\RequestContext::__construct PHP Method

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( )
    public function __construct()
    {
        if (!isset($this->context)) {
            $this->context = new ArrayContext(isset($_SERVER['REQUEST_METHOD']) && 'POST' === strtoupper($_SERVER['REQUEST_METHOD']) ? array_merge($_GET, $_POST) : $_GET);
        }
    }