public function load($id, array $parameters = [], array $headers = [])
    {
        if (empty($parameters)) {
            $parameters = [
                new AppendToResponse([
                    AppendToResponse::IMAGES,
                ])
            ];
        }

        $data = $this->getApi()->getCollection($id, $this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->create($data);
    }
public function load($id, array $parameters = [], array $headers = [])
    {
        if (empty($parameters)) {
            $parameters = [
                new AppendToResponse([
                    AppendToResponse::IMAGES,
                ])
            ];
        }

        $data = $this->getApi()->getCollection($id, $this->parseQueryParameters($parameters), $headers);

        return $this->getFactory()->create($data);
    }
public function load ( $ id , array $ parameters = [ ] , array $ headers = [ ] ) { if ( empty ( $ parameters ) ) { $ parameters = [ new AppendToResponse ( [ AppendToResponse :: IMAGES , ] ) ] ; } $ data = $ this -> getApi ( ) -> getCollection ( $ id , $ this -> parseQueryParameters ( $ parameters ) , $ headers ) ; return $ this -> getFactory ( ) -> create ( $ data ) ; }
Load a collection with the given identifier

If you want to optimize the result set/bandwidth you
should define the AppendToResponse parameter

@param $id
@param $parameters
@param $headers
@return ApiCollection
Load a collection with the given identifier