Свойство | Тип | Описание | |
---|---|---|---|
$address1 | string | ||
$address2 | string | ||
$address3 | string | ||
$city | string | ||
$countryCode | string | ||
$createdAt | datetime | ||
$current | boolean | ||
$customer | |||
$firstname | string | ||
$lastname | string | ||
$name | string | ||
$phone | string | ||
$postcode | string | ||
$type | integer | ||
$updatedAt | datetime |
Метод | Описание | |
---|---|---|
__construct ( ) | ||
__toString ( ) | ||
formatAddress ( array $address, string $sep = ', ' ) : string | Formats an address in an array form. | |
getAddress1 ( ) : string | Get address1. | |
getAddress2 ( ) : string | Get address2. | |
getAddress3 ( ) : string | Get address3. | |
getAddressArrayForRender ( ) : array | ||
getCity ( ) : string | Get city. | |
getCountryCode ( ) : string | Get countryCode. | |
getCreatedAt ( ) : Datetime | Get createdAt. | |
getCurrent ( ) : boolean | Get current. | |
getCustomer ( ) | ||
getFirstname ( ) : string | Get firstname. | |
getFullAddress ( string $sep = ', ' ) : string | ||
getFullAddressHtml ( ) : string | ||
getLastname ( ) : string | Get lastname. | |
getName ( ) | ||
getPhone ( ) : string | Get phone. | |
getPostcode ( ) : string | Get postcode. | |
getType ( ) : integer | Get type. | |
getTypeCode ( ) | ||
getTypesList ( ) | ||
getUpdatedAt ( ) : Datetime | Get updatedAt. | |
prePersist ( ) | ||
preUpdate ( ) | ||
setAddress1 ( string $address1 ) | Set address1. | |
setAddress2 ( string $address2 ) | Set address2. | |
setAddress3 ( string $address3 ) | Set address3. | |
setCity ( string $city ) | Set city. | |
setCountryCode ( string $countryCode ) | Set countryCode. | |
setCreatedAt ( DateTime $createdAt = null ) | Set createdAt. | |
setCurrent ( boolean $current ) | Set current. | |
setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
setFirstname ( string $firstname ) | Set firstname. | |
setLastname ( string $lastname ) | Set lastname. | |
setName ( $name ) | ||
setPhone ( string $phone ) | Set phone. | |
setPostcode ( string $postcode ) | Set postcode. | |
setType ( integer $type ) | Set type. | |
setUpdatedAt ( DateTime $updatedAt = null ) | Set updatedAt. |
public getAddressArrayForRender ( ) : array | ||
Результат | array |
public getCountryCode ( ) : string | ||
Результат | string |
public getFullAddress ( string $sep = ', ' ) : string | ||
$sep | string | |
Результат | string |
public setAddress1 ( string $address1 ) | ||
$address1 | string |
public setAddress2 ( string $address2 ) | ||
$address2 | string |
public setAddress3 ( string $address3 ) | ||
$address3 | string |
public setCountryCode ( string $countryCode ) | ||
$countryCode | string |
public setCreatedAt ( DateTime $createdAt = null ) | ||
$createdAt | DateTime |
public setCustomer ( Sonata\Component\Customer\CustomerInterface $customer ) | ||
$customer | Sonata\Component\Customer\CustomerInterface |
public setFirstname ( string $firstname ) | ||
$firstname | string |
public setLastname ( string $lastname ) | ||
$lastname | string |
public setPostcode ( string $postcode ) | ||
$postcode | string |
public setUpdatedAt ( DateTime $updatedAt = null ) | ||
$updatedAt | DateTime |