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