A generic bag containing properties and their values.
__construct(array|null $properties)
array
null
The initial property values to use.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
If the passed properties aren't null or an array. |
---|
__get($name)
__isset($name)
__set($name, $value)
__unset($name)
count()
getArrayCopy() : array
array
getInvalidPropertyErrors()
getInvalidPropertyNames()
getIterator()
getPropertyValue($property)
getPropertyValueErrors($property)
hasInvalidPropertyValues()
hasNoInvalidPropertyValues()
hasPropertyValue($property)
isPropertyValueInvalid($property)
isPropertyValueValid($property)
markPropertyValueAsInvalid($property, $error, $append)
offsetExists($offset)
offsetGet($offset)
offsetSet($offset, $value)
offsetUnset($offset)
removePropertyValue($property)
resetPropertyValueErrors($property)
setPropertyValue($property, $value)
requirePropertyValue(string $property) : void
internal |
---|
string
The name of the property to require.
\ContaoCommunityAlliance\DcGeneral\Exception\DcGeneralInvalidArgumentException |
If the property is not registered. |
---|
$errors : array
$properties : array