Files
tables/src/Filter/Filter.php
2024-08-28 15:09:34 +03:00

19 lines
410 B
PHP

<?php
namespace Itguild\Tables\Filter;
abstract class Filter
{
public string $html = '';
public string|array $param;
public string $name;
public string $value;
public function __construct(array $source)
{
$this->param = $source['param'] ?? '';
$this->name = $source['name'];
$this->value = $source['value'] ?? '';
}
abstract public function fetch();
}