Zend\Filter\Boolean::setCasting
Set the working mode
Signature
public function setCasting([bool
$flag = true] )
Parameters
$flag
— object- When true this filter works like cast
When false it recognises only true and false
and all other values are returned as is
Returns
- self