Skip to content

Commit b001739

Browse files
committed
Refactor namespace from App\StreamProtocol to PremierOctet\StreamProtocol across all relevant files, updating usage in README.md and class files for consistency.
1 parent 9ed9197 commit b001739

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ composer require premieroctet/php-stream-protocol
2222
### Basic Usage
2323

2424
```php
25-
use App\StreamProtocol\StreamProtocol;
25+
use PremierOctet\StreamProtocol\StreamProtocol;
2626
use OpenAI;
2727

2828
// Create a new StreamProtocol instance
@@ -53,7 +53,7 @@ public function chat(Request $request): Response
5353
### Advanced Usage with Custom Tools
5454

5555
```php
56-
use App\StreamProtocol\StreamProtocol;
56+
use PremierOctet\StreamProtocol\StreamProtocol;
5757

5858
class ChatController
5959
{

src/StreamProtocol/Message/ClientAttachment.php

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

3-
namespace App\StreamProtocol\Message;
3+
namespace PremierOctet\StreamProtocol\Message;
44

55
/**
66
* ClientAttachment - Represents a file attachment in a message

src/StreamProtocol/Message/ClientMessage.php

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

3-
namespace App\StreamProtocol\Message;
3+
namespace PremierOctet\StreamProtocol\Message;
44

55
/**
66
* ClientMessage - Represents a message from the client

src/StreamProtocol/Message/ToolInvocation.php

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

3-
namespace App\StreamProtocol\Message;
3+
namespace PremierOctet\StreamProtocol\Message;
44

55
/**
66
* ToolInvocation - Represents a tool call and its result

src/StreamProtocol/MessageConverter.php

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

3-
namespace App\StreamProtocol;
3+
namespace PremierOctet\StreamProtocol;
44

5-
use App\StreamProtocol\Message\ClientMessage;
5+
use PremierOctet\StreamProtocol\Message\ClientMessage;
66

77
/**
88
* MessageConverter - Converts messages between different formats

src/StreamProtocol/StreamHandler.php

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

3-
namespace App\StreamProtocol;
3+
namespace PremierOctet\StreamProtocol;
44

55
use Symfony\Component\HttpFoundation\StreamedResponse;
66

src/StreamProtocol/StreamProtocol.php

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

3-
namespace App\StreamProtocol;
3+
namespace PremierOctet\StreamProtocol;
44

5-
use App\StreamProtocol\Message\ClientMessage;
5+
use PremierOctet\StreamProtocol\Message\ClientMessage;
66
use Symfony\Component\HttpFoundation\StreamedResponse;
77

88
/**

0 commit comments

Comments
 (0)