PHP Class Bravo3\Orm\Tests\Entities\Indexed\SluggedArticle

Show file Open project: bravo3/orm Class Usage Examples

Protected Properties

Property Type Description
$id integer
$name string
$slug string

Public Methods

Method Description
getId ( ) : integer Get Id
getName ( ) : string Get Name
getSlug ( ) : string Get Slug
setId ( integer $id ) Set Id
setName ( string $name ) Set Name
setSlug ( string $slug ) Set Slug

Method Details

getId() public method

Get Id
public getId ( ) : integer
return integer

getName() public method

Get Name
public getName ( ) : string
return string

getSlug() public method

Get Slug
public getSlug ( ) : string
return string

setId() public method

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

setName() public method

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

setSlug() public method

Set Slug
public setSlug ( string $slug )
$slug string

Property Details

$id protected property

protected int $id
return integer

$name protected property

protected string $name
return string

$slug protected property

protected string $slug
return string