public function parse($value, $annotation = null)
    {
        if (false === ($value = filter_var($value, FILTER_VALIDATE_INT))) {
            throw new ParserException("Raw value must be integer. Invalid value '{$value}' given.");
        }

        return $value;
    }
public function parse($value, $annotation = null)
    {
        if (false === ($value = filter_var($value, FILTER_VALIDATE_INT))) {
            throw new ParserException("Raw value must be integer. Invalid value '{$value}' given.");
        }

        return $value;
    }
public function parse ( $ value , $ annotation = null ) { if ( false === ( $ value = filter_var ( $ value , FILTER_VALIDATE_INT ) ) ) { throw new ParserException ( "Raw value must be integer. Invalid value '{$value}' given." ) ; } return $ value ; }
Filter a value to be an Integer

@param  string                              $value
@param  null                                $annotation Unused
@throws \Minime\Annotations\ParserException
@return integer
Filter a value to be an Integer