File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "authors" : [
77 {
88 "name" : " Unay Santisteban" ,
9- "email" : " usantisteban@othercode.es "
9+ "email" : " usantisteban@othercode.io "
1010 }
1111 ],
1212 "minimum-stability" : " stable" ,
1313 "require" : {
14- "php" : " ^7.4|^8.0 "
14+ "php" : " ^8.1 "
1515 },
1616 "autoload" : {
1717 "psr-4" : {
18- "ComplexHeart\\ Contracts \\ " : " src/"
18+ "ComplexHeart\\ " : " src/"
1919 }
2020 }
2121}
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \Model ;
5+ namespace ComplexHeart \Domain \ Contracts \Model ;
66
7- use ComplexHeart \Contracts \ Domain \ServiceBus \EventBus ;
7+ use ComplexHeart \Domain \ Contracts \ServiceBus \EventBus ;
88
99/**
1010 * Interface Aggregate
1111 *
1212 * @author Unay Santisteban <usantisteban@othercode.es>
13- * @package ComplexHeart\Contracts\ Domain\Model
13+ * @package ComplexHeart\Domain\Contracts \Model
1414 */
1515interface Aggregate extends Entity
1616{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \Model ;
5+ namespace ComplexHeart \Domain \ Contracts \Model ;
66
77/**
88 * Interface Entity
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\Model
11+ * @package ComplexHeart\Domain\Contracts \Model
1212 */
1313interface Entity
1414{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \Model ;
5+ namespace ComplexHeart \Domain \ Contracts \Model ;
66
77/**
88 * Interface Identifier
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\Model
11+ * @package ComplexHeart\Domain\Contracts \Model
1212 */
1313interface Identifier
1414{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \Model ;
5+ namespace ComplexHeart \Domain \ Contracts \Model ;
66
77/**
88 * Interface ValueObject
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\Model
11+ * @package ComplexHeart\Domain\Contracts \Model
1212 */
1313interface ValueObject
1414{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
66
77/**
88 * Interface Command
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11+ * @package ComplexHeart\Domain\Contracts \ServiceBus
1212 */
1313interface Command
1414{
1515
16- }
16+ }
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
66
77/**
88 * Interface CommandBus
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11+ * @package ComplexHeart\Domain\Contracts \ServiceBus
1212 */
1313interface CommandBus
1414{
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
66
77/**
88 * Interface CommandHandler
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11+ * @package ComplexHeart\Domain\Contracts \ServiceBus
1212 */
1313interface CommandHandler
1414{
@@ -18,4 +18,4 @@ interface CommandHandler
1818 * @param Command $command
1919 */
2020 public function __invoke (Command $ command ): void ;
21- }
21+ }
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
66
77/**
88 * Interface Event
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11+ * @package ComplexHeart\Domain\Contracts \ServiceBus
1212 */
1313interface Event
1414{
@@ -50,4 +50,4 @@ public function payload(): array;
5050 * @return string
5151 */
5252 public function occurredOn (): string ;
53- }
53+ }
Original file line number Diff line number Diff line change 22
33declare (strict_types=1 );
44
5- namespace ComplexHeart \Contracts \ Domain \ServiceBus ;
5+ namespace ComplexHeart \Domain \ Contracts \ServiceBus ;
66
77/**
88 * Interface EventBus
99 *
1010 * @author Unay Santisteban <usantisteban@othercode.es>
11- * @package ComplexHeart\Contracts\ Domain\ServiceBus
11+ * @package ComplexHeart\Domain\Contracts \ServiceBus
1212 */
1313interface EventBus
1414{
You can’t perform that action at this time.
0 commit comments