Commit Graph

5 Commits

Author SHA1 Message Date
5c22c6fcee Altered PSR-12 update 2023-05-18 22:28:26 -06:00
cdbee13e11 Updated RequestChanable Interface and Trait
+ Fixed an error that was caused by the use of the "self" type-hint in a trait
+ Added more  type-hints to the `setCaller()` method
2020-02-28 12:01:46 -07:00
239b6b4748 Updated RequestChainable interface and trait
+ Added a new `findOrRequestRepository()` method
2020-02-26 22:52:21 -07:00
f5c7ed4962 Updated RequestChainable Interface and Trait
+ Added a new searchRequestChain()  method that will climb up the request chain searching for an object of a certain class
+ Added some test code for the new method in the TestRun.php file
2020-02-26 22:34:36 -07: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