Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | namespace phpbb\db\migration\tool; |
15 | |
16 | /** |
17 | * Migration tool interface |
18 | */ |
19 | interface tool_interface |
20 | { |
21 | /** |
22 | * Retrieve a short name used for commands in migrations. |
23 | * |
24 | * @return string short name |
25 | */ |
26 | public function get_name(); |
27 | |
28 | /** |
29 | * Reverse an original install action |
30 | * |
31 | * First argument is the original call to the class (e.g. add, remove) |
32 | * After the first argument, send the original arguments to the function in the original call |
33 | * |
34 | * @return mixed|null Return of function call or null if no valid function call found |
35 | */ |
36 | public function reverse(); |
37 | } |