ResourceBuilder
class ResourceBuilder
The ResourceBuilder is responsible for turning the responses from the API into instances of PHP classes.
A ResourceBuilder will only work for one space, when working with multiple spaces multiple ResourceBuilders have to be used.
Methods
__construct(Client $client, InstanceCache $instanceCache, CacheInterface $filesystemCache, string $spaceId)
ResourceBuilder constructor.
buildObjectsFromRawData(array $data)
Build objects based on PHP classes from the raw JSON based objects.
Details
at line 58
__construct(Client $client, InstanceCache $instanceCache, CacheInterface $filesystemCache, string $spaceId)
ResourceBuilder constructor.
at line 73
Asset|ContentType|DynamicEntry|Space|DeletedAsset|DeletedEntry|ResourceArray
buildObjectsFromRawData(array $data)
Build objects based on PHP classes from the raw JSON based objects.