gplx/mediawiki/extensions/SemanticMediaWiki/tests/phpunit/Utils/Fixtures/Properties/PopulationProperty.php

24 lines
365 B
PHP

<?php
namespace SMW\Tests\Utils\Fixtures\Properties;
use SMW\DIProperty;
/**
* @license GPL-2.0-or-later
* @since 2.1
*
* @author mwjames
*/
class PopulationProperty extends FixtureProperty {
/**
* @since 2.1
*/
public function __construct() {
$this->property = new DIProperty( 'Population' );
$this->property->setPropertyTypeId( '_num' );
}
}