This is more of a general php question. But is there a shorter way of writing the following?
$background->size()->value() === 'large' || $background->size()->value() === 'medium' || $background->size()->value() === 'small'
Something like:
$background->size()->value() === ('large' || 'medium' || 'small')
Really appreciate the help!