You are here

public function CompanyMembershipObjectCacheInterface::getMembership in Apigee Edge 8

Returns membership object from the cache.

Parameters

string $company: Name of a company.

Return value

\Apigee\Edge\Api\Management\Structure\CompanyMembership|null Membership object with the members or null if no entry found for the given company in the cache.

1 method overrides CompanyMembershipObjectCacheInterface::getMembership()
CompanyMembershipObjectCache::getMembership in modules/apigee_edge_teams/src/CompanyMembershipObjectCache.php
Returns membership object from the cache.

File

modules/apigee_edge_teams/src/CompanyMembershipObjectCacheInterface.php, line 66

Class

CompanyMembershipObjectCacheInterface
Company membership object cache definition.

Namespace

Drupal\apigee_edge_teams

Code

public function getMembership(string $company) : ?CompanyMembership;