Skip to content

Commit

Permalink
Update Location.php
Browse files Browse the repository at this point in the history
Add 'modified' field and corresponding functions for Location model.
  • Loading branch information
tomassrnka authored Dec 22, 2017
1 parent 3c46194 commit 297b4f5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/InstagramScraper/Model/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class Location extends AbstractModel
'slug' => 'slug',
'lat' => 'lat',
'lng' => 'lng',
'modified' => 'modified'
];
/**
* @var
Expand Down Expand Up @@ -45,6 +46,11 @@ class Location extends AbstractModel
*/
protected $isLoaded = false;

/**
* @var
*/
protected $modified;

/**
* @return mixed
*/
Expand Down Expand Up @@ -92,4 +98,12 @@ public function getLat()
{
return $this->lat;
}
}

/**
* @return mixed
*/
public function getModified()
{
return $this->modified;
}
}

0 comments on commit 297b4f5

Please sign in to comment.