proem/proem — Issue #25: Options - A better way to handle unset options required.
Author: trq
Created: 2012-01-14 03:45:16+00:00
State: open
Labels: Task

Currently, if an Option is not forced to be required we actually need to check the $ops object manually for a property. eg;

```
params)) {
$eventObj = new $eventObj(['name' => $ops->name, 'params' => $ops->params]);
} else {
$eventObj = new $eventObj(['name' => $ops->name]);
}
```

The $ops object is currently a StdClass object. We could (and should) fix this to be something more useful.