proem/proem — Issue #43: Add the ability to extend Preom\Api\Opt\Option type validators using traits.
Author: trq
Created: 2012-01-20 11:24:13+00:00
State: open
Labels: Task

Currently all type validators are stored in an array of closures and this array can be easily enough added to as it stands. It would however be a nice addition to be able to add new validators via the use of Traits.

The only real change that would need to be made to make this happen would be to enforce a standard naming convention.