Field_Test   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 19
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getInput() 0 4 1
1
<?php
2
/**
3
 * @copyright  Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
4
 * @license    GNU General Public License version 2 or later; see LICENSE
5
 */
6
7
namespace Joomla\Form;
8
9
/**
10
 * Form Field class for the Joomla Framework.
11
 *
12
 * @since  1.0
13
 */
14
class Field_Test extends \Joomla\Form\Field
0 ignored issues
show
Deprecated Code introduced by
The class Joomla\Form\Field has been deprecated with message: The joomla/form package is deprecated

This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.

Loading history...
15
{
16
	/**
17
	 * The field type.
18
	 *
19
	 * @var        string
20
	 */
21
	protected $type = 'Test';
22
23
	/**
24
	 * Method to get the field input.
25
	 *
26
	 * @return  string        The field input.
27
	 */
28
	protected function getInput()
29
	{
30
		return 'Test';
31
	}
32
}
33