url() public méthode

Create a url input field.
public url ( string $name, string $value = null, array $options = [] ) : Illuminate\Support\HtmlString
$name string
$value string
$options array
Résultat Illuminate\Support\HtmlString
 /**
  * Create a url input field.
  *
  * @param string $name
  * @param string $value
  * @param array $options
  * @return string 
  * @static 
  */
 public static function url($name, $value = null, $options = array())
 {
     return \Collective\Html\FormBuilder::url($name, $value, $options);
 }
 public function url($name, $value = null, $options = [])
 {
     $options = $this->setOptionClasses($name, $options, ['form-control']);
     $controlOptions = $this->getControlOptions(collect($options));
     $controlHtml = parent::url($name, $value, $controlOptions->toArray());
     return $this->renderControl('url', $controlHtml, $name, $value, $options);
 }