public __construct ( array $connections = [] ) : void | ||
$connections | array | |
리턴 | void |
public function __construct(array $connections = array())
{
foreach ($connections as $name => $connection) {
$this->addConnection($name, $connection);
}
}