Attribute::isRequired PHP Method