Refactored and reorganized

+ Created new a new interface and abstract class for Api classes that support the all() method
+ Refactored the Repositories Api class
+ Moved the abstract classes into an "Abstracts" folder
+ Moved Api Interfaces into an "Interfaces" folder
+ Corrected namespaces
This commit is contained in:
Benjamin Blake
2020-02-20 13:08:41 -07:00
parent 1bf0c070f8
commit b17224ce39
6 changed files with 229 additions and 71 deletions

View File

@ -7,7 +7,7 @@ use GuzzleHttp\Psr7\Response;
use Gitea\Client;
use Gitea\Models\Organization;
use Gitea\Api\AbstractApi;
use Gitea\Api\Abstracts\AbstractApi;
class Organizations extends AbstractApi
{