| 1 | <?php |
||
| 22 | class DefaultValue implements FilterInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var mixed |
||
| 26 | */ |
||
| 27 | private $default; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | * |
||
| 32 | * @see \Mcustiel\SimpleRequest\Interfaces\Specificable::setSpecification() |
||
| 33 | */ |
||
| 34 | 3 | public function setSpecification($specification = null) |
|
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritDoc} |
||
| 41 | * |
||
| 42 | * @see \Mcustiel\SimpleRequest\Interfaces\FilterInterface::filter() |
||
| 43 | */ |
||
| 44 | 3 | public function filter($value) |
|
| 48 | } |
||
| 49 |