2017 © Pedro PelĂĄez
 

symfony-bundle string-mapper-bundle

image

msales/string-mapper-bundle

  • Tuesday, March 14, 2017
  • by msales
  • Repository
  • 6 Watchers
  • 1 Stars
  • 2,988 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 5 Versions
  • 5 % Grown

The README.md

StringMapperBundle

Minimum PHP Version, (*1)

To use this bundle, you need to create new service:

For Mapper with Default:

    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., (*2)

For Whitelisting Mapper:

    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., (*3)

License

StringMapperBundle is released under the MIT Licence. See the bundled LICENSE file for details., (*4)

The Versions