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
getMapperNamespace()
{@inheritdoc}
createMapper($fqcn)
{@inheritdoc}
getSystemType(array $data)
{@inheritdoc}
build(array $data, ResourceInterface $resource = null)
{@inheritdoc}
Details
at line 56
__construct(Client $client, InstanceRepository $instanceRepository)
ResourceBuilder constructor.
at line 67
protected
getMapperNamespace()
{@inheritdoc}
at line 75
protected
createMapper($fqcn)
{@inheritdoc}
at line 83
protected
getSystemType(array $data)
{@inheritdoc}
at line 102
build(array $data, ResourceInterface $resource = null)
{@inheritdoc}