datetime() public method

Creates a datetime form element
See also: Illuminate\FormBuilder\input()
public datetime ( string $name, null $value = null, array $attributes = [] ) : string
$name string The name of the element
$value null The value
$attributes array The attributes
return string
Example #1
0
 /**
  * Creates a datetime form element
  *
  * @param string $name The name of the element
  * @param null $value The value
  * @param array $attributes The attributes
  * @return string 
  * @see Illuminate\FormBuilder\input()
  * @static 
  */
 public static function datetime($name, $value = null, $attributes = array())
 {
     return \Bootstrapper\Form::datetime($name, $value, $attributes);
 }