| 1 | <?php | ||
| 11 | class CreateAuthThrottlesTable extends Migration | ||
| 12 | { | ||
| 13 | /* ----------------------------------------------------------------- | ||
| 14 | | Constructor | ||
| 15 | | ----------------------------------------------------------------- | ||
| 16 | */ | ||
| 17 | |||
| 18 | /** | ||
| 19 | * Make a migration instance. | ||
| 20 | */ | ||
| 21 | public function __construct() | ||
| 27 | |||
| 28 | /* ----------------------------------------------------------------- | ||
| 29 | | Main Methods | ||
| 30 | | ----------------------------------------------------------------- | ||
| 31 | */ | ||
| 32 | |||
| 33 | /** | ||
| 34 | * Run the migrations. | ||
| 35 | */ | ||
| 36 | public function up() | ||
| 47 | |||
| 48 | /** | ||
| 49 | * Reverse the migrations. | ||
| 50 | */ | ||
| 51 | public function down() | ||
| 56 | |||
| 57 | /* ----------------------------------------------------------------- | ||
| 58 | | Other Methods | ||
| 59 | | ----------------------------------------------------------------- | ||
| 60 | */ | ||
| 61 | |||
| 62 | /** | ||
| 63 | * Check if throttles is enabled. | ||
| 64 | * | ||
| 65 | * @return bool | ||
| 66 | */ | ||
| 67 | private function isThrottlable() | ||
| 71 | } | ||
| 72 |