Your IP : 3.144.6.9


Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/rest/lib/integration/
Upload File :
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/rest/lib/integration/viewmanager.php

<?php


namespace Bitrix\Rest\Integration;


use Bitrix\Main\Engine\Controller;
use Bitrix\Rest\Integration\View\Base;

abstract class ViewManager
{
	public function __construct(\Bitrix\Main\Engine\Action $controllerAction)
	{
		$this->controllerAction = $controllerAction;
	}

	/**
	 * @return \Bitrix\Main\Engine\Action
	 */
	public function getControllerAction()
	{
		return $this->controllerAction;
	}

	/**
	 * @param Controller $controller
	 * @return Base
	 */
	abstract public function getView(Controller $controller);
}