1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
<?php namespace Illuminate\Database\Migrations;
interface MigrationRepositoryInterface {
/** * Get the ran migrations for a given package. * * @return array */ public function getRan();
/** * Get the last migration batch. * * @return array */ public function getLast();
/** * Log that a migration was run. * * @param string $file * @param int $batch * @return void */ public function log($file, $batch);
/** * Remove a migration from the log. * * @param object $migration * @return void */ public function delete($migration);
/** * Get the next migration batch number. * * @return int */ public function getNextBatchNumber();
/** * Create the migration repository data store. * * @return void */ public function createRepository();
/** * Determine if the migration repository exists. * * @return bool */ public function repositoryExists();
/** * Set the information source to gather data. * * @param string $name * @return void */ public function setSource($name);
}
|