PHP Class Sulu\Bundle\ContactBundle\Entity\Phone

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Constructor.
addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Phone Add accounts.
addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Phone Add contacts.
getAccounts ( ) : Doctrine\Common\Collections\Collection Get accounts.
getContacts ( ) : Doctrine\Common\Collections\Collection Get contacts.
getId ( ) : integer Get id.
getPhone ( ) : string Get phone.
getPhoneType ( ) : PhoneType Get phoneType.
removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) Remove accounts.
removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) Remove contacts.
setPhone ( string $phone ) : Phone Set phone.
setPhoneType ( PhoneType $phoneType ) : Phone Set phoneType.

Method Details

__construct() public méthode

Constructor.
public __construct ( )

addAccount() public méthode

Add accounts.
public addAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account ) : Phone
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface
Résultat Phone

addContact() public méthode

Add contacts.
public addContact ( Sulu\Component\Contact\Model\ContactInterface $contacts ) : Phone
$contacts Sulu\Component\Contact\Model\ContactInterface
Résultat Phone

getAccounts() public méthode

Get accounts.
public getAccounts ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getContacts() public méthode

Get contacts.
public getContacts ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getPhone() public méthode

Get phone.
public getPhone ( ) : string
Résultat string

getPhoneType() public méthode

Get phoneType.
public getPhoneType ( ) : PhoneType
Résultat PhoneType

removeAccount() public méthode

Remove accounts.
public removeAccount ( Sulu\Bundle\ContactBundle\Entity\AccountInterface $account )
$account Sulu\Bundle\ContactBundle\Entity\AccountInterface

removeContact() public méthode

Remove contacts.
public removeContact ( Sulu\Component\Contact\Model\ContactInterface $contacts )
$contacts Sulu\Component\Contact\Model\ContactInterface

setPhone() public méthode

Set phone.
public setPhone ( string $phone ) : Phone
$phone string
Résultat Phone

setPhoneType() public méthode

Set phoneType.
public setPhoneType ( PhoneType $phoneType ) : Phone
$phoneType PhoneType
Résultat Phone