$name
$name :
Contains a property name and the expected data type of values associated with the property.
This is returned in a Set when the method getPropertyNames() is called.
__construct(string $name, integer $dataTypeId)
Create a new PropertyName with string name and expected data type of values.
string | $name | The name |
integer | $dataTypeId | The data type |
getName() : string
Get the name of this PropertyName.
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275The name of the PropertyName
getDataTypeId() : integer
Get the data type ID for values associated with this Property name.
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275The ID of the data type
getDataType() : string
Get the data type name for values associated with this Property name.
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275The name of the data type
toString() : string
Get the property name and the data type as "property-name (property-data-type)"
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275The property name and the name of the data type
__toString()
Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275 Warning: count(): Parameter must be an array or an object that implements Countable in /opt/phpdoc/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275
equals( $obj) : boolean
Compare two instances of this class.
If both have equal values and data type then returns true.
$obj |
true=equals