ResourceArray
class ResourceArray extends BaseMapper
ResourceArray class.
This class is responsible for converting raw API data into a PHP object of class Contentful\Core\Resource\ResourceArray.
Properties
| protected ResourceBuilderInterface | $builder | from BaseMapper | |
| protected ClientInterface | $client | from BaseMapper | |
| protected ParserInterface | $richTextParser | from BaseMapper | |
| protected ObjectHydrator | $hydrator | from BaseMapper | 
Methods
                    __construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)
        
                                            
                BaseMapper constructor.
from BaseMapper
            
                    map($resource, array $data)
        
                                            
                
            {@inheritdoc}
Details
        in BaseMapper at         line 50
                            
    __construct(ResourceBuilderInterface $builder, ClientInterface $client, ParserInterface $richTextParser)
        
    
    BaseMapper constructor.
        in BaseMapper at         line 58
                    protected        
    createSystemProperties(string $class, array $data)
        
    
    
        in BaseMapper at         line 82
                    protected        array
    normalizeFieldData($fieldData, string $locale = null)
        
    
    
        at         line 27
                            
    map($resource, array $data)
        
    
    {@inheritdoc}