| 1 | <?php |
||
| 8 | class RunMigrationsSolution implements RunnableSolution |
||
| 9 | { |
||
| 10 | private $customTitle; |
||
| 11 | |||
| 12 | public function __construct($customTitle = null) |
||
| 13 | { |
||
| 14 | $this->customTitle = $customTitle; |
||
| 15 | } |
||
| 16 | |||
| 17 | public function getSolutionTitle(): string |
||
| 18 | { |
||
| 19 | if (isset($this->customTitle)) { |
||
| 20 | return $this->customTitle; |
||
| 21 | } |
||
| 22 | |||
| 23 | return 'A table was not found'; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getSolutionDescription(): string |
||
| 30 | |||
| 31 | public function getDocumentationLinks(): array |
||
| 37 | |||
| 38 | public function getRunParameters(): array |
||
| 42 | |||
| 43 | public function getSolutionActionDescription(): string |
||
| 47 | |||
| 48 | public function getRunButtonText(): string |
||
| 52 | |||
| 53 | public function run(array $parameters = []) |
||
| 57 | } |
||
| 58 |