- md5
- 294838dfa3c9e1e2d02405d0f195746e
- sha1
- cf96609c7ff4cddf52b64ffeaa07c2b7e522f182
- sha256
- 535d5819256bab38ef37172b03e1f33cfd349c6940bd75dcd7f64762fa8a8570
<?php
/**
* Joomla! Content Management System
*
* @copyright Copyright (C) 2005 - 2018 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
namespace Joomla\CMS\Application;
defined('JPATH_PLATFORM') or die;
use Joomla\Application\AbstractApplication;
use Joomla\CMS\Input\Input;
use Joomla\Event\DispatcherAwareInterface;
use Joomla\Event\DispatcherAwareTrait;
use Joomla\Registry\Registry;
/**
* Joomla Platform Base Application Class
*
* @property-read Input $input The application input object
*
* @since 12.1
* @deprecated 5.0 Application classes should be based on \Joomla\Application\AbstractApplication
*/
abstract class BaseApplication extends AbstractApplication implements DispatcherAwareInterface
{
use DispatcherAwareTrait, EventAware, IdentityAware;
/**
* Class constructor.
*
* @param Input $input An optional argument to provide dependency injection for the application's
* input object. If the argument is a \JInput object that object will become
* the application's input object, otherwise a default input object is created.
* @param Registry $config An optional argument to provide dependency injection for the application's
* config object. If the argument is a Registry object that object will become
* the application's config object, otherwise a default config object is created.
*
* @since 12.1
*/
public function __construct(Input $input = null, Registry $config = null)
{
$this->input = $input instanceof Input ? $input : new Input;
$this->config = $config instanceof Registry ? $config : new Registry;
$this->initialise();
}
}
No other release has this exact content. See every version of this file.