MultiFilterStruct example

protected string $operator;

    /** * @param array<string, mixed> $data */
    public static function fromArray(array $data): FilterStruct
    {
        $queries = $data['queries'];

        $data['queries'] = array_map(fn (array $query): FilterStruct => FilterStruct::fromArray($query)$queries);

        $filter = new MultiFilterStruct();
        $filter->assign($data);

        return $filter;
    }

    /** * @return array<string, string> */
    public function getQueryParameter(): array
    {
        $parameter = [];

        
Home | Imprint | This part of the site doesn't use cookies.