Options
class Options extends Collection (View source)
Methods
Details
static Options
fromArray(array $options)
Create a new options collection from the given array.
This method accepts both ['value' => 'label'] and Option objects.