Debian Codegraph @

includes/libs/rdbms/field/Field.php

raw symbols SCIP
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 public function name();
15
16 /**
17 * Name of table this field belongs to
18 * @return string
19 */
20 public function tableName();
21
22 /**
23 * Database type
24 * @return string
25 */
26 public function type();
27
28 /**
29 * Whether this field can store NULL values
30 * @return bool
31 */
32 public function isNullable();
33 }