Ublaboo\DataGrid\Filter\FilterRange::setPlaceholder PHP Method

setPlaceholder() public method

Set html attr placeholder of both inputs
public setPlaceholder ( string $placeholder_array ) : static
$placeholder_array string
return static
    public function setPlaceholder($placeholder_array)
    {
        if (!is_array($placeholder_array)) {
            throw new DataGridFilterRangeException('FilterRange::setPlaceholder can only accept array of placeholders');
        }
        $this->placeholder_array = $placeholder_array;
        return $this;
    }