Skip to content

Commit

Permalink
feat: query-filter
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Jan 9, 2024
1 parent 3bb7e17 commit 28aee3a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/Dto/Search/Query/Filter/QueryFilter.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

declare(strict_types=1);

namespace Atoolo\Search\Dto\Search\Query\Filter;

class QueryFilter extends Filter
{
public function __construct(
?string $key,
private readonly string $query
) {
parent::__construct(
$key
);
}

public function getQuery(): string
{
return $this->query;
}
}

0 comments on commit 28aee3a

Please sign in to comment.