`->trim()`, `->between($start, $end)`
This release adds ->trim()
support to strings and ->between($start, $end)
support to numeric types:
// full trim:
$this->queryParameter('someQueryParam')->string()->trim()->required();
// right trim:
$this->queryParameter('anotherQueryParam')->string()->rightTrim()->required();
// left trim:
$this->bodyParameter('someBodyParam')->string()->leftTrim()->required();
// Only accept integers between 0 and 100
$this->bodyParameter('progress')->int()->between(0, 100)->required();
// Only accept floats between 0 and 1
$this->bodyParameter('progress')->float()->between(0, 1)->required();