Add @deprecated tags to various class_alias calls
[lhc/web/wiklou.git] / includes / libs / rdbms / field / Field.php
1 <?php
2
3 namespace Wikimedia\Rdbms;
4
5 /**
6 * Base for all database-specific classes representing information about database fields
7 * @ingroup Database
8 */
9 interface Field {
10 /**
11 * Field name
12 * @return string
13 */
14 function name();
15
16 /**
17 * Name of table this field belongs to
18 * @return string
19 */
20 function tableName();
21
22 /**
23 * Database type
24 * @return string
25 */
26 function type();
27
28 /**
29 * Whether this field can store NULL values
30 * @return bool
31 */
32 function isNullable();
33 }
34
35 /**
36 * @deprecated since 1.29
37 */
38 class_alias( Field::class, 'Field' );