OrganizationFinder
in package
Uses
ValidatesQueryTrait
Tags
Table of Contents
- $client : Client
- __construct() : mixed
- findByUserId() : OrganizationList
- Find paid organizations by user id.
- findOne() : Organization|null
- Find one organization
- validateQuery() : mixed
Properties
$client
private
Client
$client
Tags
Methods
__construct()
public
__construct(Client $client) : mixed
Parameters
- $client : Client
Tags
Return values
mixed —findByUserId()
Find paid organizations by user id.
public
findByUserId(Query $query) : OrganizationList
TS docs reference for more detailed descriptions
Query parameter must have the following value:
id: <string> T-hub User UUID
Parameters
- $query : Query
Tags
Return values
OrganizationList —findOne()
Find one organization
public
findOne(Query $query) : Organization|null
Query parameter must have the following value:
id: <string> T-hub Organization UUID
Parameters
- $query : Query
Tags
Return values
Organization|null —validateQuery()
public
validateQuery(Query $query, array<string|int, mixed> $requiredParameters) : mixed
Parameters
- $query : Query
- $requiredParameters : array<string|int, mixed>