Skip to content

Commit

Permalink
chore: mark connection classes and ConnectionInterface as deprecated …
Browse files Browse the repository at this point in the history
…(#6616)
  • Loading branch information
saranshdhingra authored Sep 15, 2023
1 parent 15c03ce commit e80b479
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/V2/Connection/ConnectionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
/**
* Represents a connection to
* [Google Cloud Translation](https://cloud.google.com/translation/).
*
* @internal
*/
interface ConnectionInterface
{
Expand Down
2 changes: 2 additions & 0 deletions src/V2/Connection/Rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
/**
* Implementation of the
* [Google Cloud Translation REST API](https://cloud.google.com/translation/docs/how-to).
*
* @internal
*/
class Rest implements ConnectionInterface
{
Expand Down
1 change: 1 addition & 0 deletions src/V2/TranslateClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class TranslateClient

/**
* @var ConnectionInterface
* @internal
*/
protected $connection;

Expand Down

0 comments on commit e80b479

Please sign in to comment.