public function prepare($connectionId, Credentials $credentials)
    {
        $connection = Connection::fromCredentials($credentials);

        $this->store($connectionId, $connection);
    }
public function prepare($connectionId, Credentials $credentials)
    {
        $connection = Connection::fromCredentials($credentials);

        $this->store($connectionId, $connection);
    }
public function prepare ( $ connectionId , Credentials $ credentials ) { $ connection = Connection :: fromCredentials ( $ credentials ) ; $ this -> store ( $ connectionId , $ connection ) ; }
Stores a new database connection with provided credentials.

@param string $connectionId
@param Credentials $credentials
@return void
Stores a new database connection with provided credentials .