PHP Class Bravo3\Orm\Tests\Entities\OneToOne\User

显示文件 Open project: bravo3/orm Class Usage Examples

Protected Properties

Property Type Description
$address Address
$id integer
$name string

Public Methods

Method Description
getAddress ( ) : Address Get Address
getId ( ) : integer Get Id
getName ( ) : string Get Name
setAddress ( Address $address = null ) Set Address
setId ( integer $id ) Set Id
setName ( string $name ) Set Name

Method Details

getAddress() public method

Get Address
public getAddress ( ) : Address
return Address

getId() public method

Get Id
public getId ( ) : integer
return integer

getName() public method

Get Name
public getName ( ) : string
return string

setAddress() public method

Set Address
public setAddress ( Address $address = null )
$address Address

setId() public method

Set Id
public setId ( integer $id )
$id integer

setName() public method

Set Name
public setName ( string $name )
$name string

Property Details

$address protected_oe property

protected Address,Bravo3\Orm\Tests\Entities\OneToOne $address
return Address

$id protected_oe property

protected int $id
return integer

$name protected_oe property

protected string $name
return string