Skip to content

Commit

Permalink
Tracking: fill interfaces, part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
chlulei committed Nov 14, 2024
1 parent 01920fb commit c9074c2
Showing 1 changed file with 12 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,24 @@

interface FilterInterface
{
public function withUserIds(): self;
public function withUserId(int $id): self;

public function withObjectTypes(): self;
public function withObjectType(string $type): self;

public function withObjectIds(): self;
public function withObjectId(int $id): self;

/**
* @return int[]
*/
public function getUserIds(): array;

/**
* @return string[]
*/
public function getObjectTypes(): array;

/**
* @return int[]
*/
public function getObjectIds(): array;
}

0 comments on commit c9074c2

Please sign in to comment.