Skip to content

Commit e4410bc

Browse files
alshabalinasmyasnikov
authored andcommitted
namespace updated
1 parent d36974c commit e4410bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+100
-100
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Use your OAuth token:
4141
```php
4242
<?php
4343

44-
use YandexCloud\Ydb\Ydb;
44+
use YdbPlatform\Ydb\Ydb;
4545

4646
$config = [
4747

@@ -77,7 +77,7 @@ Connect to your database:
7777
```php
7878
<?php
7979

80-
use YandexCloud\Ydb\Ydb;
80+
use YdbPlatform\Ydb\Ydb;
8181

8282
$config = [
8383
'database' => '/ru-central1/b1glxxxxxxxxxxxxxxxx/etn0xxxxxxxxxxxxxxxx',
@@ -110,7 +110,7 @@ Connect to your database:
110110
```php
111111
<?php
112112

113-
use YandexCloud\Ydb\Ydb;
113+
use YdbPlatform\Ydb\Ydb;
114114

115115
$config = [
116116
'database' => '/ru-central1/b1glxxxxxxxxxxxxxxxx/etn0xxxxxxxxxxxxxxxx',
@@ -136,7 +136,7 @@ When you deploy a project to VM or function at Yandex.Cloud, you are able to con
136136
```php
137137
<?php
138138

139-
use YandexCloud\Ydb\Ydb;
139+
use YdbPlatform\Ydb\Ydb;
140140

141141
$config = [
142142

@@ -168,7 +168,7 @@ You should initialize a session from the Table service to start querying.
168168
```php
169169
<?php
170170

171-
use YandexCloud\Ydb\Ydb;
171+
use YdbPlatform\Ydb\Ydb;
172172

173173
$config = [
174174
// ...

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "yandex-cloud/ydb-php-sdk",
2+
"name": "ydb-platform/ydb-php-sdk",
33
"description": "Yandex Database SDK (PHP)",
44
"license": "Apache-2.0",
55
"authors": [
@@ -24,7 +24,7 @@
2424
"psr-4": {
2525
"Ydb\\": "protos/Ydb/",
2626
"GPBMetadata\\": "protos/GPBMetadata/",
27-
"YandexCloud\\Ydb\\": "src/"
27+
"YdbPlatform\\Ydb\\": "src/"
2828
}
2929
}
3030
}

src/Contracts/IamTokenContract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Contracts;
3+
namespace YdbPlatform\Ydb\Contracts;
44

55
interface IamTokenContract
66
{

src/Contracts/SessionPoolContract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Contracts;
3+
namespace YdbPlatform\Ydb\Contracts;
44

5-
use YandexCloud\Ydb\Session;
5+
use YdbPlatform\Ydb\Session;
66

77
interface SessionPoolContract
88
{

src/Contracts/TypeContract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Contracts;
3+
namespace YdbPlatform\Ydb\Contracts;
44

55
use Ydb\Type;
66
use Ydb\Value;

src/Jwt/Signer/Sha256.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Jwt\Signer;
3+
namespace YdbPlatform\Ydb\Jwt\Signer;
44

55
use Lcobucci\JWT\Signer\Key as SignerKey;
66
use Lcobucci\JWT\Signer\OpenSSL;

src/Logger/NullLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Logger;
3+
namespace YdbPlatform\Ydb\Logger;
44

55
use Psr\Log\LoggerTrait;
66
use Psr\Log\NullLogger as BaseNullLogger;

src/Sessions/FileSessionPool.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Sessions;
3+
namespace YdbPlatform\Ydb\Sessions;
44

5-
use YandexCloud\Ydb\Session;
6-
use YandexCloud\Ydb\Contracts\SessionPoolContract;
5+
use YdbPlatform\Ydb\Session;
6+
use YdbPlatform\Ydb\Contracts\SessionPoolContract;
77

88
class FileSessionPool implements SessionPoolContract
99
{

src/Sessions/MemorySessionPool.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Sessions;
3+
namespace YdbPlatform\Ydb\Sessions;
44

5-
use YandexCloud\Ydb\Session;
6-
use YandexCloud\Ydb\Contracts\SessionPoolContract;
5+
use YdbPlatform\Ydb\Session;
6+
use YdbPlatform\Ydb\Contracts\SessionPoolContract;
77

88
class MemorySessionPool implements SessionPoolContract
99
{

src/Traits/LoggerTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

3-
namespace YandexCloud\Ydb\Traits;
3+
namespace YdbPlatform\Ydb\Traits;
44

5-
use YandexCloud\Ydb\Logger\NullLogger;
5+
use YdbPlatform\Ydb\Logger\NullLogger;
66

77
trait LoggerTrait
88
{

0 commit comments

Comments
 (0)