Code
Explorer
You are a developer and looking for Shopware projects?
Apply Now!
ProfileSalutationMissingError example
$customer
->
setFirstName
(
''
)
;
$customer
->
setLastName
(
''
)
;
$address
=
new
CustomerAddressEntity
(
)
;
$address
->
setId
(
''
)
;
$address
->
setFirstName
(
''
)
;
$address
->
setLastName
(
''
)
;
$address
->
setZipcode
(
''
)
;
$address
->
setCity
(
''
)
;
return
[
new
ProfileSalutationMissingError
(
$customer
)
,
new
BillingAddressSalutationMissingError
(
$address
)
,
new
ShippingAddressSalutationMissingError
(
$address
)
,
]
;
}
/** * @param array<BundleFixture> $bundles */
private
function
createFinder
(
array
$bundles
)
: Environment
{
$loader
=
new
FilesystemLoader
(
__DIR__ . '/fixtures/Storefront/Resources/views'
)
;