CoreFiles by mySites.guru
Dispatcher.php64 lines, 1,175 bytes, from Joomla_4.0.0-alpha12-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha11
md5
2eeb8426d0d108d32acea257f3a48fa0
sha1
e5be42a909f9a2f58a46a81c2a848687066b8d08
sha256
e67beb029ec661cc99a647e32840ca791f2a7c00a8981c51e52d3d064fc85941
<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

namespace Joomla\CMS\Dispatcher;

\defined('_JEXEC') or die;

use Joomla\CMS\Application\CMSApplication;
use Joomla\Input\Input;

/**
 * Base class for a Joomla Dispatcher
 *
 * @since  4.0.0
 */
abstract class Dispatcher implements DispatcherInterface
{
	/**
	 * The application instance
	 *
	 * @var    CMSApplication
	 * @since  4.0.0
	 */
	protected $app;

	/**
	 * The input instance
	 *
	 * @var    Input
	 * @since  4.0.0
	 */
	protected $input;

	/**
	 * Constructor for Dispatcher
	 *
	 * @param   CMSApplication  $app    The application instance
	 * @param   Input           $input  The input instance
	 *
	 * @since   4.0.0
	 */
	public function __construct(CMSApplication $app, Input $input)
	{
		$this->app   = $app;
		$this->input = $input;
	}

	/**
	 * The application the dispatcher is working with.
	 *
	 * @return  CMSApplication
	 *
	 * @since   4.0.0
	 */
	protected function getApplication(): CMSApplication
	{
		return $this->app;
	}
}

No other release has this exact content. See every version of this file.