src/Utils/DatePicker.php
private function datePicker(array $arguments)
    {
        return $this->context->executeJsOnElement($this->element, sprintf(
            "return jQuery({{ELEMENT}}).datepicker(%s);",
            implode(', ', array_map(function ($value) {
                return in_array($value, ['<date>']) ? $this->date : "'$value'";
            }, $arguments))
        ));
    }
private function datePicker(array $arguments)
    {
        return $this->context->executeJsOnElement($this->element, sprintf(
            "return jQuery({{ELEMENT}}).datepicker(%s);",
            implode(', ', array_map(function ($value) {
                return in_array($value, ['<date>']) ? $this->date : "'$value'";
            }, $arguments))
        ));
    }
private function datePicker ( array $ arguments ) { return $ this -> context -> executeJsOnElement ( $ this -> element , sprintf ( "return jQuery({{ELEMENT}}).datepicker(%s);" , implode ( ', ' , array_map ( function ( $ value ) { return in_array ( $ value , [ '<date>' ] ) ? $ this -> date : "'$value'" ; } , $ arguments ) ) ) ) ; }
@param array $arguments
jQuery.fn.datepicker arguments.

@return mixed
Result of JS execution.
@param array $arguments jQuery . fn . datepicker arguments .