| @@ 27-36 (lines=10) @@ | ||
| 24 | * @param int $port |
|
| 25 | * @param string $socket |
|
| 26 | */ |
|
| 27 | public function __construct(Console $console, $database, $user, $password, $host, $port, $socket) |
|
| 28 | { |
|
| 29 | $this->console = $console; |
|
| 30 | $this->database = $database; |
|
| 31 | $this->user = $user; |
|
| 32 | $this->password = $password; |
|
| 33 | $this->host = $host; |
|
| 34 | $this->port = $port; |
|
| 35 | $this->socket = $socket; |
|
| 36 | } |
|
| 37 | ||
| 38 | /** |
|
| 39 | * Create a database dump. |
|
| @@ 26-35 (lines=10) @@ | ||
| 23 | * @param string string $host |
|
| 24 | * @param int $port |
|
| 25 | */ |
|
| 26 | public function __construct(Console $console, $database, $schema, $username, $password, $host, $port) |
|
| 27 | { |
|
| 28 | $this->console = $console; |
|
| 29 | $this->database = $database; |
|
| 30 | $this->schema = $schema; |
|
| 31 | $this->username = $username; |
|
| 32 | $this->password = $password; |
|
| 33 | $this->host = $host; |
|
| 34 | $this->port = $port; |
|
| 35 | } |
|
| 36 | ||
| 37 | /** |
|
| 38 | * Create a database dump. |
|