File: /var/www/vhost/disk-apps/qas.sports-crowd.com/config/zoap.php
<?php
return [
// Service configurations.
'services' => [
'getTickets' => [
'name' => 'getTickets',
'class' => 'App\Http\Controllers\Soap\UnionElectricaService',
'exceptions' => [
'Exception'
],
'types' => [
'ticket' => 'App\Http\Controllers\Soap\Types\Ticket',
],
'strategy' => 'ArrayOfTypeComplex',
'headers' => [
'Cache-Control' => 'no-cache, no-store',
'Content-Type' => 'text/xml'
],
'options' => []
],
'demo' => [
'name' => 'Demo',
'class' => 'Viewflex\Zoap\Demo\DemoService',
'exceptions' => [
'Exception'
],
'types' => [
'keyValue' => 'Viewflex\Zoap\Demo\Types\KeyValue',
'product' => 'Viewflex\Zoap\Demo\Types\Product'
],
'strategy' => 'ArrayOfTypeComplex',
'headers' => [
'Cache-Control' => 'no-cache, no-store'
],
'options' => []
]
],
// Log exception trace stack?
'logging' => true,
// Mock credentials for demo.
'mock' => [
'user' => 'test@test.com',
'password' => 'tester',
'token' => 'tGSGYv8al1Ce6Rui8oa4Kjo8ADhYvR9x8KFZOeEGWgU1iscF7N2tUnI3t9bX'
],
];