N°6384 - Flag LinkedSet to specify that it has CheckToWrite constraint (more specific parameter name)

This commit is contained in:
Eric Espie
2023-06-09 10:21:47 +02:00
parent 191742c2a9
commit 1b7529fcb9
5 changed files with 13 additions and 13 deletions

View File

@@ -1727,12 +1727,13 @@ class AttributeLinkedSet extends AttributeDefinition
}
/**
* @return bool true if host object has constraints
* Indicates if the current Attribute has constraints (php constraints or datamodel constraints)
* @return bool true if Attribute has constraints
* @since 3.1.0 N°6228
*/
public function GetHasConstraint()
{
return $this->GetOptional('with_constraint', false);
return $this->GetOptional('with_php_constraint', false);
}
/**