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

fillAddress() protected method

Fill address
protected fillAddress ( string &$input, string $char = '*' )
$input string
$char string
    protected function fillAddress(&$input, $char = '*')
    {
        while (substr_count($input, '.') < 3) {
            $input .= '.' . $char;
        }
    }