File tree Expand file tree Collapse file tree 16 files changed +42
-42
lines changed Expand file tree Collapse file tree 16 files changed +42
-42
lines changed Original file line number Diff line number Diff line change 6
6
"authors" : [
7
7
{
8
8
"name" : " Unay Santisteban" ,
9
- "email" : " usantisteban@othercode.es "
9
+ "email" : " usantisteban@othercode.io "
10
10
}
11
11
],
12
12
"minimum-stability" : " stable" ,
13
13
"require" : {
14
- "php" : " ^7.4|^8.0 "
14
+ "php" : " ^8.1 "
15
15
},
16
16
"autoload" : {
17
17
"psr-4" : {
18
- "ComplexHeart\\ Contracts \\ " : " src/"
18
+ "ComplexHeart\\ " : " src/"
19
19
}
20
20
}
21
21
}
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \Model ;
5
+ namespace ComplexHeart \Domain \ Contracts \Model ;
6
6
7
- use ComplexHeart \Contracts \ Domain \ServiceBus \EventBus ;
7
+ use ComplexHeart \Domain \ Contracts \ServiceBus \EventBus ;
8
8
9
9
/**
10
10
* Interface Aggregate
11
11
*
12
12
* @author Unay Santisteban <usantisteban@othercode.es>
13
- * @package ComplexHeart\Contracts\ Domain\Model
13
+ * @package ComplexHeart\Domain\Contracts \Model
14
14
*/
15
15
interface Aggregate extends Entity
16
16
{
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \Model ;
5
+ namespace ComplexHeart \Domain \ Contracts \Model ;
6
6
7
7
/**
8
8
* Interface Entity
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\Model
11
+ * @package ComplexHeart\Domain\Contracts \Model
12
12
*/
13
13
interface Entity
14
14
{
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \Model ;
5
+ namespace ComplexHeart \Domain \ Contracts \Model ;
6
6
7
7
/**
8
8
* Interface Identifier
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\Model
11
+ * @package ComplexHeart\Domain\Contracts \Model
12
12
*/
13
13
interface Identifier
14
14
{
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \Model ;
5
+ namespace ComplexHeart \Domain \ Contracts \Model ;
6
6
7
7
/**
8
8
* Interface ValueObject
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\Model
11
+ * @package ComplexHeart\Domain\Contracts \Model
12
12
*/
13
13
interface ValueObject
14
14
{
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5
+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
6
6
7
7
/**
8
8
* Interface Command
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11
+ * @package ComplexHeart\Domain\Contracts \ServiceBus
12
12
*/
13
13
interface Command
14
14
{
15
15
16
- }
16
+ }
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5
+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
6
6
7
7
/**
8
8
* Interface CommandBus
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11
+ * @package ComplexHeart\Domain\Contracts \ServiceBus
12
12
*/
13
13
interface CommandBus
14
14
{
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5
+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
6
6
7
7
/**
8
8
* Interface CommandHandler
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11
+ * @package ComplexHeart\Domain\Contracts \ServiceBus
12
12
*/
13
13
interface CommandHandler
14
14
{
@@ -18,4 +18,4 @@ interface CommandHandler
18
18
* @param Command $command
19
19
*/
20
20
public function __invoke (Command $ command ): void ;
21
- }
21
+ }
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5
+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
6
6
7
7
/**
8
8
* Interface Event
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11
+ * @package ComplexHeart\Domain\Contracts \ServiceBus
12
12
*/
13
13
interface Event
14
14
{
@@ -50,4 +50,4 @@ public function payload(): array;
50
50
* @return string
51
51
*/
52
52
public function occurredOn (): string ;
53
- }
53
+ }
Original file line number Diff line number Diff line change 2
2
3
3
declare (strict_types=1 );
4
4
5
- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5
+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
6
6
7
7
/**
8
8
* Interface EventBus
9
9
*
10
10
* @author Unay Santisteban <usantisteban@othercode.es>
11
- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11
+ * @package ComplexHeart\Domain\Contracts \ServiceBus
12
12
*/
13
13
interface EventBus
14
14
{
You can’t perform that action at this time.
0 commit comments