1 <?php
2 /**
3 * @package Joomla.Legacy
4 * @subpackage Application
5 *
6 * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE.txt
8 */
9
10 defined('JPATH_PLATFORM') or die;
11
12 use Joomla\Registry\Registry;
13
14 /**
15 * Deprecated class placeholder. You should use JApplicationWeb instead.
16 *
17 * @since 1.7
18 * @deprecated 2.5 Use JApplicationWeb instead.
19 * @codeCoverageIgnore
20 */
21 class JWeb extends JApplicationWeb
22 {
23 /**
24 * Class constructor.
25 *
26 * @param JInput $input An optional argument to provide dependency injection for the application's
27 * input object. If the argument is a JInput object that object will become
28 * the application's input object, otherwise a default input object is created.
29 * @param Registry $config An optional argument to provide dependency injection for the application's
30 * config object. If the argument is a Registry object that object will become
31 * the application's config object, otherwise a default config object is created.
32 * @param JApplicationWebClient $client An optional argument to provide dependency injection for the application's
33 * client object. If the argument is a JApplicationWebClient object that object will become
34 * the application's client object, otherwise a default client object is created.
35 *
36 * @since 1.7
37 * @deprecated 2.5 Use JApplicationWeb instead.
38 */
39 public function __construct(JInput $input = null, Registry $config = null, JApplicationWebClient $client = null)
40 {
41 JLog::add('JWeb is deprecated. Use JApplicationWeb instead.', JLog::WARNING, 'deprecated');
42 parent::__construct($input, $config, $client);
43 }
44 }
45