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;
}