public function url($input, $key, $lang)
    {
        $lang = $this->custom('url', $lang);
        if (filter_var($input[$key], FILTER_VALIDATE_URL) === false) {
            return str_replace(':field', $key, $lang);
        }
    }
public function url($input, $key, $lang)
    {
        $lang = $this->custom('url', $lang);
        if (filter_var($input[$key], FILTER_VALIDATE_URL) === false) {
            return str_replace(':field', $key, $lang);
        }
    }
public function url ( $ input , $ key , $ lang ) { $ lang = $ this -> custom ( 'url' , $ lang ) ; if ( filter_var ( $ input [ $ key ] , FILTER_VALIDATE_URL ) === false ) { return str_replace ( ':field' , $ key , $ lang ) ; } }
Parses URL validation field.

@param array  $input - Input to be validated
@param string $key   - Validation key
@param string $lang  - Language string

@return string
Parses URL validation field .