interface CompanyMembershipObjectCacheInterface in Apigee Edge 8
Company membership object cache definition.
Hierarchy
- interface \Drupal\apigee_edge_teams\CompanyMembershipObjectCacheInterface
Expanded class hierarchy of CompanyMembershipObjectCacheInterface
All classes that implement CompanyMembershipObjectCacheInterface
1 file declares its use of CompanyMembershipObjectCacheInterface
- TeamController.php in modules/
apigee_edge_teams/ src/ Entity/ Controller/ TeamController.php
File
- modules/
apigee_edge_teams/ src/ CompanyMembershipObjectCacheInterface.php, line 28
Namespace
Drupal\apigee_edge_teamsView source
interface CompanyMembershipObjectCacheInterface {
/**
* Saves company membership object to the cache.
*
* @param string $company
* Name of a company.
* @param \Apigee\Edge\Api\Management\Structure\CompanyMembership $membership
* Membership object with the members.
*/
public function saveMembership(string $company, CompanyMembership $membership) : void;
/**
* Removes company membership object from the cache.
*
* @param string $company
* Name of a company.
*/
public function removeMembership(string $company) : void;
/**
* Invalidate membership objects by tags.
*
* @param array $tags
* Array of cache tags.
*/
public function invalidateMemberships(array $tags) : void;
/**
* Returns membership object from the cache.
*
* @param string $company
* Name of a company.
*
* @return \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.
*/
public function getMembership(string $company) : ?CompanyMembership;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CompanyMembershipObjectCacheInterface:: |
public | function | Returns membership object from the cache. | 1 |
CompanyMembershipObjectCacheInterface:: |
public | function | Invalidate membership objects by tags. | 1 |
CompanyMembershipObjectCacheInterface:: |
public | function | Removes company membership object from the cache. | 1 |
CompanyMembershipObjectCacheInterface:: |
public | function | Saves company membership object to the cache. | 1 |