Bluz\Validator\Rule\Ip::parseRangeUsingWildcards PHP Method

parseRangeUsingWildcards() protected method

Parse range using wildcards
protected parseRangeUsingWildcards ( string $input, array &$range )
$input string
$range array
    protected function parseRangeUsingWildcards($input, &$range)
    {
        $this->fillAddress($input);
        $range['min'] = strtr($input, '*', '0');
        $range['max'] = str_replace('*', '255', $input);
    }