public function parseEntities($body)
    {
        $rawEntities = json_decode($body, true);
        $entities   = array();

        foreach ($rawEntities[Resources::JSON_VALUE] as $rawEntity) {
            $entities[] = $this->parseOneEntity($rawEntity);
        }

        return $entities;
    }
public function parseEntities($body)
    {
        $rawEntities = json_decode($body, true);
        $entities   = array();

        foreach ($rawEntities[Resources::JSON_VALUE] as $rawEntity) {
            $entities[] = $this->parseOneEntity($rawEntity);
        }

        return $entities;
    }
public function parseEntities ( $ body ) { $ rawEntities = json_decode ( $ body , true ) ; $ entities = array ( ) ; foreach ( $ rawEntities [ Resources :: JSON_VALUE ] as $ rawEntity ) { $ entities [ ] = $ this -> parseOneEntity ( $ rawEntity ) ; } return $ entities ; }
Constructs array of entities from HTTP response body.

@param string $body The HTTP response body.

@return array
Constructs array of entities from HTTP response body .