protected function filter($value, $filter)
    {
        if (null !== $filter) {
            $value = Filter::_($value, $filter);
        }

        return $value;
    }
protected function filter($value, $filter)
    {
        if (null !== $filter) {
            $value = Filter::_($value, $filter);
        }

        return $value;
    }
protected function filter ( $ value , $ filter ) { if ( null !== $ filter ) { $ value = Filter :: _ ( $ value , $ filter ) ; } return $ value ; }
Filter value before return

@param mixed $value
@param mixed $filter
@return mixed
@throws \JBZoo\Utils\Exception
Filter value before return