blob: 102647c8100ef88cc876022e64fa381aa2acd842 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?php
namespace SMW;
use SMWDataItem;
class DIProperty extends SMWDataItem {
/**
* @param string $key
* @param false $inverse
*/
public function __construct( string $key, $inverse = false ) {
}
/**
* @param string $label
* @param bool $inverse
* @param false $languageCode
* @return DIProperty
*/
public static function newFromUserLabel( string $label, bool $inverse = false, $languageCode = false ) : self {
return new self( $label );
}
}
|