mirror of
https://github.com/Sylius/Sylius.git
synced 2026-07-14 17:10:53 +00:00
12 lines
250 B
ReStructuredText
12 lines
250 B
ReStructuredText
ZoneMatcher
|
|
-----------
|
|
|
|
This bundle exposes the **ZoneMatcher** as ``sylius.zone_matcher`` service.
|
|
|
|
.. code-block:: php
|
|
|
|
<?php
|
|
|
|
$zoneMatcher = $this->get('sylius.zone_matcher');
|
|
|
|
$zone = $zoneMatcher->match($user->getBillingAddress());
|