Initial commit
This commit is contained in:
24
lib/Jmap/FM/Request/Events/EventFilter.php
Normal file
24
lib/Jmap/FM/Request/Events/EventFilter.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: Sebastian Krupinski <krupinski01@gmail.com>
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
namespace KTXM\ProviderJmapc\Jmap\FM\Request\Events;
|
||||
|
||||
use JmapClient\Requests\Calendar\EventFilter as EventFilterJmap;
|
||||
|
||||
class EventFilter extends EventFilterJmap {
|
||||
|
||||
public function in(string $value): self {
|
||||
|
||||
$this->condition('inCalendars', [$value]);
|
||||
|
||||
return $this;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user