mapper.test_default:
class: "%msales.string_mapper.default.class%" #storm is lost withot it :(
parent: msales.string_mapper.default
arguments:
-
ala: makota
kot: madoscali
Default mapper will return requested key if its not found in the map.
mapper.test_whitelisting:
class: "%msales.string_mapper.whitelisting.class%" #storm is lost withot it :(
parent: msales.string_mapper.whitelisting
arguments:
-
ala: makota
kot: madoscali
Whitelisting mapper will throw exception if requested key is not in map.
StringMapperBundle is released under the MIT Licence. See the bundled LICENSE file for details.