BumbleDocGen / Technical description of the project / Class map / LocalObjectCache
LocalObjectCache class:
namespace BumbleDocGen\Core\Cache\LocalCache;
final class LocalObjectCache- # cacheMethodResult | source code
public function cacheMethodResult(string $methodKey, string $objectId, mixed $methodResult): void;Parameters:
| Name | Type | Description |
|---|---|---|
| $methodKey | string | - |
| $objectId | string | - |
| $methodResult | mixed | - |
Return value: void
- # getMethodCachedResult | source code
public function getMethodCachedResult(string $methodKey, string $objectId): mixed;Parameters:
| Name | Type | Description |
|---|---|---|
| $methodKey | string | - |
| $objectId | string | - |
Return value: mixed
Throws: