brafton\ApiHandler
class ApiHandler has a contructor which takes an API KEY and a baseurl as parameters and will throw an exception if either are incorrect
Synopsis
class ApiHandler
extends Object
{
- // members
- private Feed $API_KEY;
- private $apiUrl;
- private $newsUrl;
- private $categoryUrl;
- private $commentUrl;
- private $feedName;
- // methods
- public void __construct()
- public array getNewsHTML()
- public array getNewsRaw()
- public array getCategoryDefinitions()
- public array getLatestComments()
- private String getFeedUrl()
Hierarchy
Extends
- Object
Members
private
- $API_KEY — brafton\Feed
- $apiUrl
- $categoryUrl
- $commentUrl
- $feedName
- $newsUrl