string|array
getTargets()
Returns whether the constraint can be put onto classes, properties or both. This method should return one or more of the constants Constraint::CLASSCONSTRAINT and Constraint::PROPERTYCONSTRAINT.
Return Value string|array One or more constant values