PHP Class WellCommerce\Bundle\ClientBundle\Twig\Extension\ClientAddressFormatterExtension

Author: Adam Piotrowski ([email protected])
Inheritance: extends Twig_Extension
Mostrar archivo Open project: wellcommerce/wellcommerce

Public Methods

Method Description
formatBillingAddress ( WellCommerce\Bundle\ClientBundle\Entity\ClientBillingAddressInterface $address, string $lineSeparator = self::LINES_SEPARATOR ) : string Formats the billing address
formatContactDetails ( WellCommerce\Bundle\ClientBundle\Entity\ClientContactDetailsInterface $details, string $lineSeparator = self::LINES_SEPARATOR ) : string Formats the contact details
formatShippingAddress ( WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddressInterface $address, string $lineSeparator = self::LINES_SEPARATOR ) : string Formats the shipping address
getFunctions ( )
getName ( )

Method Details

formatBillingAddress() public method

Formats the billing address
public formatBillingAddress ( WellCommerce\Bundle\ClientBundle\Entity\ClientBillingAddressInterface $address, string $lineSeparator = self::LINES_SEPARATOR ) : string
$address WellCommerce\Bundle\ClientBundle\Entity\ClientBillingAddressInterface
$lineSeparator string
return string

formatContactDetails() public method

Formats the contact details
public formatContactDetails ( WellCommerce\Bundle\ClientBundle\Entity\ClientContactDetailsInterface $details, string $lineSeparator = self::LINES_SEPARATOR ) : string
$details WellCommerce\Bundle\ClientBundle\Entity\ClientContactDetailsInterface
$lineSeparator string
return string

formatShippingAddress() public method

Formats the shipping address
public formatShippingAddress ( WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddressInterface $address, string $lineSeparator = self::LINES_SEPARATOR ) : string
$address WellCommerce\Bundle\ClientBundle\Entity\ClientShippingAddressInterface
$lineSeparator string
return string

getFunctions() public method

public getFunctions ( )

getName() public method

public getName ( )