for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wikibase\DataModel\Services\Fixtures;
use Wikibase\DataModel\Entity\EntityDocument;
/**
* @license GPL-2.0+
* @author Jeroen De Dauw < [email protected] >
*/
class EntityOfUnknownType implements EntityDocument {
* @return null
public function getId() {
return null;
}
* @return string Returns the entity type "unknown-entity-type".
public function getType() {
return 'unknown-entity-type';
* @param mixed $id Ignored.
public function setId( $id ) {
* @return bool Always true.
public function isEmpty() {
return true;
* @see EntityDocument::equals
*
* @param mixed $target
public function equals( $target ) {
* @see EntityDocument::copy
* @return self
public function copy() {
return $this;
* @see EntityDocument::clear
public function clear() {