PHP Class Bravo3\Orm\Tests\Entities\SortedUser

Show file Open project: bravo3/orm Class Usage Examples

Protected Properties

Property Type Description
$active boolean
$id integer
$name string

Public Methods

Method Description
getActive ( ) : boolean Get Active
getId ( ) : integer Get Id
getName ( ) : string Get Name
setActive ( boolean $active ) Set Active
setId ( integer $id ) Set Id
setName ( string $name ) Set Name

Method Details

getActive() public method

Get Active
public getActive ( ) : boolean
return boolean

getId() public method

Get Id
public getId ( ) : integer
return integer

getName() public method

Get Name
public getName ( ) : string
return string

setActive() public method

Set Active
public setActive ( boolean $active )
$active boolean

setId() public method

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

setName() public method

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

Property Details

$active protected property

protected bool $active
return boolean

$id protected property

protected int $id
return integer

$name protected property

protected string $name
return string