18 lines
315 B
PHP
18 lines
315 B
PHP
<?php
|
|
namespace MediaWiki\Libs;
|
|
|
|
/**
|
|
* An interface to check for emptiness of an object
|
|
*/
|
|
interface Emptiable {
|
|
|
|
/**
|
|
* Check if object is empty
|
|
* @return bool Is it empty
|
|
*/
|
|
public function isEmpty();
|
|
|
|
}
|
|
|
|
/** @deprecated class alias since 1.41 */
|
|
class_alias( Emptiable::class, 'MediaWiki\\Emptiable' );
|