1 | <?php |
||
21 | class SummaryPage extends SymfonyPage implements SummaryPageInterface |
||
22 | { |
||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function getRouteName() |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function hasShippingAddress(AddressInterface $address) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function hasBillingAddress(AddressInterface $address) |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | protected function getDefinedElements() |
||
61 | |||
62 | /** |
||
63 | * @param string $displayedAddress |
||
64 | * @param AddressInterface $address |
||
65 | * |
||
66 | * @return bool |
||
67 | */ |
||
68 | private function isAddressValid($displayedAddress, AddressInterface $address) |
||
82 | |||
83 | /** |
||
84 | * @param string $address |
||
85 | * @param string $addressPart |
||
86 | * |
||
87 | * @return bool |
||
88 | */ |
||
89 | private function hasAddressPart($address, $addressPart, $optional = false) |
||
97 | |||
98 | /** |
||
99 | * @param string $countryCode |
||
100 | * |
||
101 | * @return string |
||
102 | */ |
||
103 | private function getCountryName($countryCode) |
||
107 | } |
||
108 |