- Output for 8.2.11 - 8.2.29, 8.3.5 - 8.3.27, 8.4.1 - 8.4.14
- object(User)#1 (3) {
["name":"User":private]=>
string(22) "Hydrated from database"
["email":"User":private]=>
string(17) "user1@example.com"
["domainEvents":protected]=>
array(0) {
}
}
object(User)#1 (3) {
["name":"User":private]=>
string(15) "Mutation intent"
["email":"User":private]=>
string(17) "user1@example.com"
["domainEvents":protected]=>
array(1) {
[0]=>
object(NameUpdated)#2 (1) {
["name"]=>
string(15) "Mutation intent"
}
}
}
object(User)#3 (3) {
["name":"User":private]=>
string(23) "Created from controller"
["email":"User":private]=>
string(17) "user2@example.com"
["domainEvents":protected]=>
array(1) {
[0]=>
object(Created)#4 (2) {
["name"]=>
string(23) "Created from controller"
["email"]=>
string(17) "user2@example.com"
}
}
}
object(User)#3 (3) {
["name":"User":private]=>
string(23) "Another mutation intent"
["email":"User":private]=>
string(17) "user2@example.com"
["domainEvents":protected]=>
array(2) {
[0]=>
object(Created)#4 (2) {
["name"]=>
string(23) "Created from controller"
["email"]=>
string(17) "user2@example.com"
}
[1]=>
object(NameUpdated)#5 (1) {
["name"]=>
string(23) "Another mutation intent"
}
}
}
- Output for 8.1.30 - 8.1.33
- Parse error: syntax error, unexpected token "readonly", expecting end of file in /in/ZCVpG on line 32
Process exited with code 255.