PHP Class Sulu\Bundle\ContactBundle\Entity\AccountAddress

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
getAccount ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface Get account.
getAddress ( ) : Address Get address.
getId ( ) : integer Get id.
getMain ( ) : boolean Get main.
setAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : AccountAddress Set account.
setAddress ( Address $address ) : AccountAddress Set address.
setMain ( boolean $main ) : AccountAddress Set main.

Method Details

getAccount() public method

Get account.
public getAccount ( ) : Sulu\Bundle\ContactBundle\Entity\AccountInterface
return Sulu\Bundle\ContactBundle\Entity\AccountInterface

getAddress() public method

Get address.
public getAddress ( ) : Address
return Address

getId() public method

Get id.
public getId ( ) : integer
return integer

getMain() public method

Get main.
public getMain ( ) : boolean
return boolean

setAccount() public method

Set account.
public setAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : AccountAddress
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface
return AccountAddress

setAddress() public method

Set address.
public setAddress ( Address $address ) : AccountAddress
$address Address
return AccountAddress

setMain() public method

Set main.
public setMain ( boolean $main ) : AccountAddress
$main boolean
return AccountAddress