@@ -5,20 +5,20 @@ |
||
5 | 5 | namespace FondBot; |
6 | 6 | |
7 | 7 | use FondBot\Channels\Channel; |
8 | -use FondBot\Contracts\Drivers\User; |
|
9 | -use FondBot\Contracts\Drivers\Driver; |
|
10 | -use FondBot\Conversation\IntentManager; |
|
11 | -use FondBot\Conversation\ContextManager; |
|
12 | 8 | use FondBot\Contracts\Bot as BotContract; |
13 | 9 | use FondBot\Contracts\Container\Container; |
14 | -use FondBot\Contracts\Conversation\Intent; |
|
15 | 10 | use FondBot\Contracts\Conversation\Context; |
16 | -use FondBot\Contracts\Conversation\Keyboard; |
|
17 | -use FondBot\Contracts\Drivers\InvalidRequest; |
|
18 | -use FondBot\Contracts\Drivers\OutgoingMessage; |
|
19 | 11 | use FondBot\Contracts\Conversation\Conversable; |
12 | +use FondBot\Contracts\Conversation\Intent; |
|
20 | 13 | use FondBot\Contracts\Conversation\Interaction; |
14 | +use FondBot\Contracts\Conversation\Keyboard; |
|
15 | +use FondBot\Contracts\Drivers\Driver; |
|
21 | 16 | use FondBot\Contracts\Drivers\Extensions\WebhookVerification; |
17 | +use FondBot\Contracts\Drivers\InvalidRequest; |
|
18 | +use FondBot\Contracts\Drivers\OutgoingMessage; |
|
19 | +use FondBot\Contracts\Drivers\User; |
|
20 | +use FondBot\Conversation\ContextManager; |
|
21 | +use FondBot\Conversation\IntentManager; |
|
22 | 22 | |
23 | 23 | class Bot implements BotContract |
24 | 24 | { |
@@ -4,12 +4,12 @@ |
||
4 | 4 | |
5 | 5 | namespace FondBot\Conversation; |
6 | 6 | |
7 | -use FondBot\Contracts\Drivers\User; |
|
8 | -use FondBot\Contracts\Conversation\Intent; |
|
9 | -use FondBot\Contracts\Drivers\ReceivedMessage; |
|
7 | +use FondBot\Contracts\Conversation\Context as ContextContract; |
|
10 | 8 | use FondBot\Contracts\Conversation\Conversable; |
9 | +use FondBot\Contracts\Conversation\Intent; |
|
11 | 10 | use FondBot\Contracts\Conversation\Interaction; |
12 | -use FondBot\Contracts\Conversation\Context as ContextContract; |
|
11 | +use FondBot\Contracts\Drivers\ReceivedMessage; |
|
12 | +use FondBot\Contracts\Drivers\User; |
|
13 | 13 | |
14 | 14 | class Context implements ContextContract |
15 | 15 | { |
@@ -5,13 +5,13 @@ |
||
5 | 5 | namespace FondBot\Conversation; |
6 | 6 | |
7 | 7 | use FondBot\Contracts\Bot; |
8 | -use FondBot\Conversation\Traits\Transitions; |
|
8 | +use FondBot\Contracts\Conversation\Conversable; |
|
9 | +use FondBot\Contracts\Conversation\Intent as IntentContract; |
|
9 | 10 | use FondBot\Conversation\Traits\Authorization; |
10 | 11 | use FondBot\Conversation\Traits\HasActivators; |
11 | -use FondBot\Conversation\Traits\SendsMessages; |
|
12 | -use FondBot\Contracts\Conversation\Conversable; |
|
13 | 12 | use FondBot\Conversation\Traits\InteractsWithContext; |
14 | -use FondBot\Contracts\Conversation\Intent as IntentContract; |
|
13 | +use FondBot\Conversation\Traits\SendsMessages; |
|
14 | +use FondBot\Conversation\Traits\Transitions; |
|
15 | 15 | |
16 | 16 | abstract class Intent implements IntentContract, Conversable |
17 | 17 | { |
@@ -5,11 +5,11 @@ |
||
5 | 5 | namespace FondBot\Conversation; |
6 | 6 | |
7 | 7 | use FondBot\Contracts\Bot; |
8 | -use FondBot\Conversation\Traits\Transitions; |
|
9 | -use FondBot\Conversation\Traits\SendsMessages; |
|
10 | 8 | use FondBot\Contracts\Conversation\Conversable; |
11 | -use FondBot\Conversation\Traits\InteractsWithContext; |
|
12 | 9 | use FondBot\Contracts\Conversation\Interaction as InteractionContract; |
10 | +use FondBot\Conversation\Traits\InteractsWithContext; |
|
11 | +use FondBot\Conversation\Traits\SendsMessages; |
|
12 | +use FondBot\Conversation\Traits\Transitions; |
|
13 | 13 | |
14 | 14 | abstract class Interaction implements InteractionContract, Conversable |
15 | 15 | { |