Setting Values

You can set the boolean field type value with a boolean value:

$entry->example = true

You can also set the value with a boolean-filterable string.

$entry->example = "yes"; // Value is "true"