Rename Interfaces to Contracts to better match Laravel conventions

This commit is contained in:
Nabeel Shahzad
2019-07-15 15:44:31 -04:00
parent 31f16d693b
commit a720f12e0b
223 changed files with 241 additions and 241 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Acars;
use App\Models\Enums\AcarsType;
use App\Models\Enums\PirepState;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Aircraft;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Airline;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Airport;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Award;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Expense;
use Illuminate\Support\Collection;
use Prettus\Repository\Contracts\CacheableInterface;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Fare;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\FlightField;
/**

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Flight;
use App\Repositories\Criteria\WhereCriteria;
use Illuminate\Http\Request;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Journal;
use App\Models\JournalTransaction;
use App\Support\Money;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Navdata;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\News;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Permission;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\PirepField;
/**

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Enums\PirepState;
use App\Models\Pirep;
use App\Models\User;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Rank;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Role;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -3,7 +3,7 @@
namespace App\Repositories;
use App\Exceptions\SettingNotFound;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Setting;
use Illuminate\Support\Carbon;
use Log;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Subfleet;
use Prettus\Repository\Contracts\CacheableInterface;
use Prettus\Repository\Traits\CacheableRepository;

View File

@@ -2,7 +2,7 @@
namespace App\Repositories;
use App\Interfaces\Repository;
use App\Contracts\Repository;
use App\Models\Enums\UserState;
use App\Models\User;
use App\Repositories\Criteria\WhereCriteria;