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 65
__construct(ClientInterface $client, ResourcePoolInterface $resourcePool, ParserInterface $richTextParser)
ResourceBuilder constructor.
at line 80
protected
getMapperNamespace()
{@inheritdoc}
at line 88
protected
createMapper($fqcn)
{@inheritdoc}
at line 96
protected
getSystemType(array $data)
{@inheritdoc}
at line 112
build(array $data, ResourceInterface $resource = null)
{@inheritdoc}