$properties
$properties :
Contains a map of names to Property objects. An instance of this class is returned by getProperties().
getIterator()
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
put( $name, $property)
Associates the specified Property with the specified name. If a Property for this name currently exists it will be replaced by the new value.
$name | ||
$property |
putAll( $properties)
$properties |
get( $name) : \DeviceAtlas\Property
Returns the Property to which the specified name is mapped to, or null if there is no mapping for this name.
$name |
The value to which the specified name is mapped to, or null if the map contains no mapping for this name.
containsKey( $name) : boolean
Returns true if the Properties contains a mapping for the specified name.
$name |
true if a Property exists for the specified key.
isEmpty() : boolean
Returns true if there are no properties.
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 1275true=if no properties exist.
size() : integer
Returns the number of Property objects in this Properties Map.
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 number of mappings in this map.
count()
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
keySet() : array
Get the property names of the property set.
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 1275Property names
toString() : string
Serialize properties to JSON.
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 1275A serialized string of the properties.
__toString() : string
Serialize properties to JSON.
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 1275A serialized string of the properties.
contains( $name, $value) : boolean
Check if a property has a specific value.
$name | ||
$value |
true=the property value matched the expected value
getOrDefaultString( $name, $defaultValue) : string
The method returns the String property value for the specified property name, otherwise the $defaultValue is returned instead.
$name | ||
$defaultValue |
getOrDefaultInteger( $name, $defaultValue) : integer
The method returns the Integer property value for the specified property name, otherwise the $defaultValue is returned instead.
$name | ||
$defaultValue |
getOrDefaultBoolean( $name, $defaultValue) : boolean
The method returns the Boolean property value for the specified property name, otherwise the $defaultValue is returned instead.
$name | ||
$defaultValue |
getOrDefaultSet( $name, $defaultValue) : array
The method returns the Set property value for the specified property name, otherwise the defaultValue is returned instead.
$name | ||
$defaultValue |
__isset( $name) : boolean
Returns true if the Properties contains a mapping for the specified name.
$name |
true if a Property exists for the specified key.
__get( $name) : mixed
Returns the property value, the data type of the value is set proper data type as defined for the property. If property does not exist null will be returned
$name |
The property typed value or null