PHP Class Sylius\Component\Addressing\Provider\ProvinceNamingProvider

Author: Jan Góralski ([email protected])
Inheritance: implements Sylius\Component\Addressing\Provider\ProvinceNamingProviderInterface
Show file Open project: sylius/sylius

Public Methods

Method Description
__construct ( Sylius\Component\Resource\Repository\RepositoryInterface $provinceRepository )
getAbbreviation ( Sylius\Component\Addressing\Model\AddressInterface $address )
getName ( Sylius\Component\Addressing\Model\AddressInterface $address )

Method Details

__construct() public method

public __construct ( Sylius\Component\Resource\Repository\RepositoryInterface $provinceRepository )
$provinceRepository Sylius\Component\Resource\Repository\RepositoryInterface

getAbbreviation() public method

public getAbbreviation ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface

getName() public method

public getName ( Sylius\Component\Addressing\Model\AddressInterface $address )
$address Sylius\Component\Addressing\Model\AddressInterface