Inpsyde\MultilingualPress\Common\Nonce\RequestContext::__construct PHP Метод

__construct() публичный Метод

Constructor. Sets up the properties.
С версии: 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);
        }
    }