\Test\EntityTest

Class Test

Summary

Methods
Properties
Constants
setId()
getId()
setEmail()
getEmail()
setName()
getName()
getCreated()
setCreated()
getUpdated()
setUpdated()
updatedTimestamps()
toArray()
No public properties found
No constants found
No protected methods found
$id
$email
$name
$created
$updated
N/A
No private methods found
No private properties found
N/A

Properties

$id

$id : integer

Type

integer

$email

$email : string

Type

string

$name

$name : string

Type

string

$created

$created : 

Type

$updated

$updated : 

Type

Methods

setId()

setId(  $id) : void

Parameters

$id

int

getId()

getId() : integer

Returns

integer

setEmail()

setEmail(  $email) : void

Parameters

$email

string

getEmail()

getEmail() : string

Returns

string

setName()

setName(  $name) : void

Parameters

$name

string

getName()

getName() : string

Returns

string

getCreated()

getCreated() : string

Get created.

Returns

string

setCreated()

setCreated(string  $created) : void

Set created.

Parameters

string $created

getUpdated()

getUpdated() : string

Get updated.

Returns

string

setUpdated()

setUpdated(string  $updated) : void

Set updated.

Parameters

string $updated

updatedTimestamps()

updatedTimestamps() 

Now we tell doctrine that before we persist or update we call the updatedTimestamps() function.

toArray()

toArray()