Skip to content

Instantly share code, notes, and snippets.

View brockriemenschneider's full-sized avatar

Brock Riemenschneider brockriemenschneider

  • Minneapolis, MN
View GitHub Profile
@brockriemenschneider
brockriemenschneider / PHP Constructor
Last active February 23, 2018 17:19
PHPStorm File and Code Templates
/**
* Constructor
#if (${PARAM_DOC} != "") *
#else#end
${PARAM_DOC}
*/
public function __construct(${PARAM_LIST}) {${BODY}}
<?php
class Instagram
{
private $api_feed = "https://api.instagram.com/v1/users/%s/media/recent/?count=6&access_token=%s";
private $api_user = "https://api.instagram.com/v1/users/search/?q=%s&count=1&access_token=%s";
private $access_token = "XXXXX";
private $file = './instagram.txt';