\Ceo\Plugins\Instagram\HydratorsImage

Image Hydrator

Common properties:

  • id
  • shortcode
  • display_url
  • media_preview
  • is_video
  • accessibility_caption
  • taken_at_timestamp
  • location
  • thumbnail_src
 $transport = (new JsonTransport())
     ->setUsername($username);
 $imageData = $transport->getUserData();
 $user = (new User())
     ->hydrate($imageData);
 echo $user->getImages()[0]->getAttribute('shortcode');

Summary

Methods
Properties
Constants
hydrate()
getAttribute()
getThumbnail()
getDimensions()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$stack
N/A

Properties

$stack

$stack : 

Type

Methods

hydrate()

hydrate(  $data) 

Parameters

$data

getAttribute()

getAttribute(  $key) 

Parameters

$key

getThumbnail()

getThumbnail(  $width = 480) 

Parameters

$width

getDimensions()

getDimensions()