ResourceBuilder
class ResourceBuilder extends BaseResourceBuilder
ResourceBuilder class.
This class is responsible for turning responses from the API into instances of PHP classes.
A ResourceBuilder will only work for one space, when working with multiple spaces multiple instances have to be used.
Methods
__construct(ClientInterface $client, ResourcePoolInterface $resourcePool, ParserInterface $richTextParser)
ResourceBuilder constructor.
getMapperNamespace()
{@inheritdoc}
createMapper($fqcn)
{@inheritdoc}
getSystemType(array $data)
{@inheritdoc}
build(array $data, ResourceInterface $resource = \null)
{@inheritdoc}
Details
at line 68
__construct(ClientInterface $client, ResourcePoolInterface $resourcePool, ParserInterface $richTextParser)
ResourceBuilder constructor.
at line 83
protected
getMapperNamespace()
{@inheritdoc}
at line 91
protected
createMapper($fqcn)
{@inheritdoc}
at line 99
protected
getSystemType(array $data)
{@inheritdoc}
at line 118
build(array $data, ResourceInterface $resource = \null)
{@inheritdoc}