Sylius/SyliusAddressingBundle — pull request #13 by umpirsky (2012-12-23 12:08:33+00:00)
Title: Zone matcher.

There are two issues with this matcher implementation:

1. In order to define matching priority, instead of using [$repository->findAll()](https://github.com/umpirsky/SyliusAddressingBundle/pull/new/zones#L0R50) we need to fetch zones sorted by type/priority (e.g. province, county, zone).

2. When iterating zone members are switched by entity type instead model type, that's because entities are not extending models (because of table inheritance limitations). This can be fixed with simple or instanceof model...if we don't find better solution.

All ideas are appreciated.