wiki.techinc.nl/includes/libs/rdbms/field/Field.php
Timo Tijhof 516f2700e0 AutoloadGenerator: Add support for class_alias()
Blob, Field, DatabaseBase are now auto-detected.

Change-Id: Ib8fae2ec3fbb3f5e4aca7965f81631c5f0485ea1
2017-02-22 21:22:41 +00:00

35 lines
530 B
PHP

<?php
namespace Wikimedia\Rdbms;
/**
* Base for all database-specific classes representing information about database fields
* @ingroup Database
*/
interface Field {
/**
* Field name
* @return string
*/
function name();
/**
* Name of table this field belongs to
* @return string
*/
function tableName();
/**
* Database type
* @return string
*/
function type();
/**
* Whether this field can store NULL values
* @return bool
*/
function isNullable();
}
class_alias( Field::class, 'Field' );