for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wikibase\DataModel\Services\EntityId;
use Wikibase\DataModel\Entity\EntityId;
/**
* @since 1.1
*
* @license GPL-2.0-or-later
* @author Jeroen De Dauw < [email protected] >
* @author Thiemo Kreuz
*/
class PlainEntityIdFormatter implements EntityIdFormatter {
* @see EntityIdFormatter::formatEntityId
* @param EntityId $entityId
* @return string Plain text
public function formatEntityId( EntityId $entityId ) {
return $entityId->getSerialization();
}