Commit Graph

5 Commits

Author SHA1 Message Date
027b430adc Model Objects - Fixed bugs caused by numeric strings
+ Made the model objects accept numeric strings instead of being so strict about integer values
2020-03-31 14:00:52 -06:00
70f978847e Large changes to inter-object interfaces + More
+ Created a new core interface (called RequestChainable) and applied it to most of the objects using a trait
+ Altered the `__construct()` and `fromJson()` methods of all model classes by replacing the second parameter ($apiRequester) with a $caller parameter
+ Altered the  `__construct()` method of all requester classes to make them accept $client by reference instead of by value
+ Altered the  `__construct()` method of all requester classes by replacing the second parameter ($authToken) with a $caller parameter
+ Changed the name of several methods and properties
+ Altered several docblocks
2020-02-26 20:23:06 -07:00
baf886674f Updated the Repository model class
+ Updated namespaces and class names
+ Updated several methods to make this conform to the ApiModelInterface
+ Added a new tags() method for retreiving all tags for a repository
+ Added a new branches() method for retreiving all branches for a repository
+ Added a new archive() method for downloading an archive for the repository
2020-02-25 12:29:16 -07:00
dcd2d8bdf3 Corrected namespaces + Chnaged tab size to 4
+ Went through all the Model classes and updated their namespaces to match their parent folder name
+ Changed tab sizes to 4 spaces instead of 2 (in all php files)
2020-02-20 13:21:18 -07:00
1bf0c070f8 Huge number of updates, too tired to list them all
+ Added a bunch of API handler classes that will use the already created models
+ Created a new Client class that will connect to new API handler classes
+ Created new collection classes
2020-02-19 22:10:59 -07:00