PHP Class Wallabag\AnnotationBundle\Entity\Annotation

Show file Open project: wallabag/wallabag Class Usage Examples

Public Methods

Method Description
__construct ( User $user ) *
getCreatedAt ( ) : DateTime Get created.
getEntry ( ) : Entry Get entry.
getId ( ) : integer Get id.
getQuote ( ) : string Get quote.
getRanges ( ) : array Get ranges.
getText ( ) : string Get text.
getUpdatedAt ( ) : DateTime Get updated.
getUser ( ) : User Get user.
getUserName ( )
getVersion ( )
setEntry ( Entry $entry ) : Annotation Set entry.
setQuote ( string $quote ) : Annotation Set quote.
setRanges ( array $ranges ) : Annotation Set ranges.
setText ( string $text ) : Annotation Set text.
setUser ( User $user ) : Annotation Set user.
timestamps ( )

Method Details

__construct() public method

*
public __construct ( User $user )
$user Wallabag\UserBundle\Entity\User

getCreatedAt() public method

Get created.
public getCreatedAt ( ) : DateTime
return DateTime

getEntry() public method

Get entry.
public getEntry ( ) : Entry
return Wallabag\CoreBundle\Entity\Entry

getId() public method

Get id.
public getId ( ) : integer
return integer

getQuote() public method

Get quote.
public getQuote ( ) : string
return string

getRanges() public method

Get ranges.
public getRanges ( ) : array
return array

getText() public method

Get text.
public getText ( ) : string
return string

getUpdatedAt() public method

Get updated.
public getUpdatedAt ( ) : DateTime
return DateTime

getUser() public method

Get user.
public getUser ( ) : User
return Wallabag\UserBundle\Entity\User

getUserName() public method

public getUserName ( )

getVersion() public method

public getVersion ( )

setEntry() public method

Set entry.
public setEntry ( Entry $entry ) : Annotation
$entry Wallabag\CoreBundle\Entity\Entry
return Annotation

setQuote() public method

Set quote.
public setQuote ( string $quote ) : Annotation
$quote string
return Annotation

setRanges() public method

Set ranges.
public setRanges ( array $ranges ) : Annotation
$ranges array
return Annotation

setText() public method

Set text.
public setText ( string $text ) : Annotation
$text string
return Annotation

setUser() public method

Set user.
public setUser ( User $user ) : Annotation
$user Wallabag\UserBundle\Entity\User
return Annotation

timestamps() public method

public timestamps ( )